Interview Question
Qus: What are the extensions in C #?
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.
Answers (2)