In this article we will see what extension methods are, why we need them and how to create them.
In this article we will see what extension methods are, why we need them and how to create them.Extension methods are methods which allow you to extend a type, even if you don't have the source code for that type. Let's understand it with a simple example: Suppose you want to add an IsNumeric method to a string class to check whether a string is numeric or not. What will you do?
Pro WPF: Windows Presentation Foundation in .NET 3.0