Developing For .NET

Real World .NET Methods, Tricks, and Examples

DevelopingForDotNet.Extensions

A namespace for sharing and demonstrating Extension Methods. It contains useful methods for extending IEnumerable<T>, string, and numeric types.

It includes a Console application that demonstrates how to call the methods.

First introduced in this post.

Updates:

2 January 2008: Updated to include DateTime extension methods and a few other miscellaneous EMs.

29 September 2008: Too many to list.

DOWNLOAD

3 comments

3 Comments so far

  1. Ted March 20th, 2010 12:18 pm

    Hi!
    I think about your site that is good for me.
    Thank you.

  2. tim July 22nd, 2010 3:49 am

    string StripCharacters(string) would be a 100x faster with just a switch/case statement (instead of using LINQ). Its easy enough to make the mod.
    Thanks for the post!

  3. tim July 22nd, 2010 4:08 am

    PS. same goes for regex’s.. they can slow you down. if its simple enough for a switch/case, use it over Regex.

Leave a reply

Spam Protection by WP-SpamFree