Question:Which of the following are true about Extension methods? 

A They must be declared static 

B They can be declared either static or instance members 

C They must be declared in the same assembly (but may be in different source files) 

D Extension methods can be used to override existing instance methods 

E Extension methods with the same signature for the same class may be declared in multiple namespaces without causing compilation errors 

+ Answer
+ Report
Total Preview: 2127

Copyright © 2024. Powered by Intellect Software Ltd