Method ToString
ToString()
Converts the value to its equivalent string representation.
string ToString()
Returns
ToString(string)
Converts the value to its equivalent string representation, using the specified format.
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.
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.
string ToString(string format, IFormatProvider provider)
Parameters
format
stringA standard or custom format string.
provider
IFormatProviderAn object that supplies culture-specific formatting information.