Strings and IsNullOrEmpty
>Tired of doing this: "if(s == null || s == String.Empty)"... |
Yea, we have heard that request before... here is a method we are looking at
adding a the Whidbey release of the .NET Framework on the System.String
class.
public
static bool IsNullOrEmpty(string str)
what do you think?