Quiz on Extension Methods
Evaluate yourself on what you have learned about extension methods.
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
Which of the following is the correct declaration for a Movie
class with extension methods?
A.
public class MovieExtensions
{
// The rest of the class will be here
}
B.
public static class MovieExtensions
{
// The rest of the class will be here
}
C.
public class static MovieExtensions
{
// The rest of the class will be here
}
D.
public class MovieExtensions static
{
// The rest of the class will be here
}
1 / 2