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