C# Extension Methods – Part 1

Ever since I learned about extension methods I have never stopped using them. Extension methods allow you to “extend” existing types, creating enhanced functionality in your code. For example, I can create an extension method for the string base type, and all strings in my class will implement that new method. Before we create our own let’s take a look at some existing extensions…