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