Extension for Cleaner Code

The extension method in C#, VB, or F# is a static method that accepts this modifier of TInput. The method can be either void or return value. From MSDN definition, Extension methods enable you to "add" methods to existing types without creating a new derived type, recompiling, or otherwise modifying the original type. Extension methods are a special kind of … Continue reading Extension for Cleaner Code