What are your favorite extension methods for C#? (codeplex.com/extensionoverflow)

Posted by bovium on Stack Overflow See other posts from Stack Overflow or by bovium
Published on 2008-11-07T06:47:21Z Indexed on 2010/05/19 1:30 UTC
Read the original article Hit count: 271

Filed under:
|
|
|

Let's make a list of answers where you post your excellent and favorite extension methods.

The requirement is that the full code must be posted and a example and an explanation on how to use it.

Based on the high interest in this topic I have setup an Open Source Project called extensionoverflow on Codeplex.

Please mark your answers with an acceptance to put the code in the Codeplex project.

Please post the full sourcecode and not a link.

Codeplex News:

11.11.2008 XmlSerialize / XmlDeserialize is now Implemented and Unit Tested.

11.11.2008 There is still room for more developers. ;-) Join NOW!

11.11.2008 Third contributer joined ExtensionOverflow, welcome to BKristensen

11.11.2008 FormatWith is now Implemented and Unit Tested.

09.11.2008 Second contributer joined ExtensionOverflow. welcome to chakrit.

09.11.2008 We need more developers. ;-)

09.11.2008 ThrowIfArgumentIsNull in now Implemented and Unit Tested on Codeplex.

© Stack Overflow or respective owner

Related posts about c#

Related posts about extension-methods