Qus:    What are the extensions in C #?
Dec 21, 2020 21:18 DotNet 2 Answers Views: 1210 FRAUSKY

 



  An Extension Method enables us to add methods to existing types without creating a new derived type, recompiling, or modify the original types. We can say that it extends the functionality of an existing type in C#.



 



  Extension methods allow the classes to extend the class source of the class, rather than relying on legacy.

Prev Next
Answers (2)
PARTH Dec 22, 2020 13:10
Answer:   An Extension Method enables us to add methods to existing types without creating a new derived type, recompiling, or modify the original types. We can say that it extends the functionality of an existing type in C#.

DIVYA Dec 22, 2020 16:12
Answer:   Extension methods allow the classes to extend the class source of the class, rather than relying on legacy.

Post Your Answer
Guest User

Not sure what solution is right for you?

Choose the right one for you.
Get the help of the experts and find a solution that best suits your needs.


Let`s Connect