Showing posts with label Extension Methods. Show all posts
Showing posts with label Extension Methods. Show all posts

Extension Methods to Die For

This will be a running blog entry that I’ll update periodically when I have new ideas.

Enum.ToUserString();

string.IsNullOrEmpty:

public static bool IsNullOrEmpty(this string str)
{
return string.IsNullOrEmpty(str);
}