steve-mentzer submitted these extension methods

  • IsNull

    Essentially the implementation of the sql 'isnull' function, allowing the string type (when null) to be replaced with another value.
    C# System.String Steve Mentzer
  • IsNullThenEmpty

    A handy extension method for System.String that eliminates this pattern when trying to avoid null reference exceptions. if (someString==null) someString=string.Empty;
    C# System.String Steve Mentzer