An extension method is a language feature of some languages, such as Swift, Visual Basic.NET, C#, Kotlin etc. Extension methods enable you to add methods to existing types without creating a new derived type, recompiling, or otherwise modifying the original type.