Wednesday, September 15, 2010

Extension Method in ASP.NET

Extension method is new to C#. It  allow you to add new method to the existing class.
Extension method are special kind of static method but they are called using instance method syntax.
The first parameter specify which type the method operate on, and the parameter is precede by "this" modifier.

Download Code

No comments:

Post a Comment