ThisToThat/ThisToThat/ToUInt32Extensions.cs
/// <summary>
/// Converts and returns this string's value as a nullable UInt32.
/// Null is returned if the value does not successfully parse to UInt32.
/// </summary>
/// <returns>This string's value converted to a nullable UInt32.</returns>
Converts and returns this string's value as a nullable UInt32.
Null is returned if the value does not successfully parse to UInt32.
Converts and returns this string ' s value as a nullable UInt32 . Null is returned if the value does not successfully parse to UInt32 .
public static UInt32? ToUInt32Nullable(this string strThisString)
        {
            UInt32 uint32Return;
            return UInt32.TryParse(strThisString, out uint32Return) ? uint32Return : (UInt32?)null;
        }
public static UInt32 ? ToUInt32Nullable ( this string strThisString ) { UInt32 uint32Return ; return UInt32 . TryParse ( strThisString , out uint32Return ) ? uint32Return : ( UInt32 ? ) null ; }
Converts and returns this string's value as a nullable UInt32.
Converts and returns this string ' s value as a nullable UInt32 .
This string's value converted to a nullable UInt32.
This string ' s value converted to a nullable UInt32 .
string
this