Which among the following option holds good for Extension Methods in C#?

Extension methods allows us to modify the method present in an existing type through inheritance

The return type of the extension method will be the type that is extended

The first parameter of the extension method uses 'base' modifier followed by the type that is being extended

Extension methods are helpful in scenarios where the class is sealed and yet one wants to extend its functionality, without the concept of inheritance

Verified Answer
Correct Option - d

To get all Advanced CSharp Programming Assessment Exam questions Join Group https://bit.ly/infy_premium_group

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in