What is the extension method for a class? | Eklavya Online

What is the extension method for a class?

The extension method is used to add new methods in the existing class or the structure without modifying the source code of the original type. Special permission from the original type or re-compiling it isn’t required.