chris-rock submitted these extension methods

  • ToNullableString()

    Calling Value.ToString on a System.Nullable<T> type where the value is null will result in an "Nullable object must have a value." exception being thrown. This extension method can be used in place of .ToString to prevent this exception from occurring.
    C# System.Nullable<T> Chris Rock
  • ToNullableString()

    Calling Value.ToString on a Nullable(Of T) type where the value is null will result in an "Nullable object must have a value." exception being thrown. This extension method can be used in place of .ToString to prevent this exception from occurring.
    VB System.Nullable<T> Chris Rock

 

;