public static class StringExtensions
public static bool IsNullOrEmpty(this string myString)
return string.IsNullOrEmpty(myString);
public static void Main()
Console.WriteLine(myString.IsNullOrEmpty());
Console.WriteLine("".IsNullOrEmpty());
Console.WriteLine("BOB".IsNullOrEmpty());