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
format
stringA 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
provider
IFormatProviderAn 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
format
stringA standard or custom format string.
provider
IFormatProviderAn object that supplies culture-specific formatting information.