Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ToString Method

Conversions.ToString Method

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method ToString() Returns a string that represents the current object. (Inherited from Object.)
Public method Static member ToString(Boolean) Converts a Boolean value to a String.
Public method Static member ToString(Byte) Converts a Byte value to a String.
Public method Static member ToString(Char) Converts a Char value to a String.
Public method Static member ToString(DateTime) Converts a DateTime value to a String value.
Public method Static member ToString(Decimal) Converts a Decimal value to a String value.
Public method Static member ToString(Double) Converts a Double value to a String value.
Public method Static member ToString(Int16) Converts a Short value to a String value.
Public method Static member ToString(Int32) Converts an integer value to a String value.
Public method Static member ToString(Int64) Converts a Long value to a String value.
Public method Static member ToString(Object) Converts an object to a String value.
Public method Static member ToString(Single) Converts a Single value (a single-precision floating point number) to a String value.
Public method Static member ToString(UInt32) Converts a uint value to a String value.
Public method Static member ToString(UInt64) Converts a Ulong value to a String value.
Public method Static member ToString(Decimal, NumberFormatInfo) Converts a Decimal value to a String value, using the specified number format.
Public method Static member ToString(Double, NumberFormatInfo) Converts a Double value to a String value, using the specified number format.
Public method Static member ToString(Single, NumberFormatInfo) Converts a Single value to a String value, using the specified number format.
Top

Community Additions

ADD
Show:
© 2015 Microsoft