C# Extension Methods

One of new cool features that will be available in C# 3.0 are extension methods. Extension methods will allow us to extend existing classes with new functionality. In this example I will show you how to extend System.string with two methods that are very popular in PHP: nl2br() and md5().


NB! This blog is moved to gunnarpeipman.com

Click here to go to article


Comments have been disabled for this content.