Which of the following statements is false?
a) Extension methods must be defined as static methods in a static class.
b) The compiler implicitly passes the object that’s used to call the method as the
extension method’s first argument. This allows you to call an extension method as if it
were an instance method of the extended class.
c) An extension method’s fully qualified name is the name of the class in which the
extension method is defined, followed by the name of the method and its argument list.
When using the fully qualified method name, you must specify an argument for the first
parameter.
d) If the type being extended defines an instance method with the same name as your extension method and a compatible signature, the extension method shadows the instance method.
d) If the type being extended defines an instance method with the same name as your extension method and a compatible signature, the extension method shadows the instance method.
You might also like to view...
The Find and Replace feature searches the cells in a worksheet for specified data, then replaces each match with _____
a. bolded text b. highlighted text c. a replacement value from the thesaurus d. a replacement value of your choice
The edge of the display screen in Windows 8 is commonly called the bezel
Indicate whether the statement is true or false