Description
.NET 3.5 and MONO support extension methods. Extension methods, if used carefully, can seamlessly extend the API in a type-safe way. There are several utility functions that are prime candidates for this type of re-factoring. The readability gains in the client code are quite significant. Any extension methods will need to be isolated with
#ifdef NET_3_5 || MONO
since this is a new feature for the .NET platform.
See the following link for more information on extension methods: