Solved

Which of the Following Statements Is False

Question 76

Multiple Choice

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.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents