Method ToString
ToString()
Converts the value to its equivalent string representation.
public override readonly string ToString()
Returns
ToString(string)
Converts the value to its equivalent string representation, using the specified format.
public readonly string ToString(string format)
Parameters
formatstringA standard or custom format string.
Returns
ToString(IFormatProvider)
Converts the value to its equivalent string representation using the specified culture-specific format information.
public readonly string ToString(IFormatProvider provider)
Parameters
providerIFormatProviderAn object that supplies culture-specific formatting information.
Returns
ToString(string, IFormatProvider)
Converts the value to its equivalent string representation using the specified format and culture-specific format information.
public readonly string ToString(string format, IFormatProvider provider)
Parameters
formatstringA standard or custom format string.
providerIFormatProviderAn object that supplies culture-specific formatting information.