Method ToString
ToString(bool)
Converts a Boolean to a string.
public static string ToString(bool value)Parameters
- valuebool
- The value. 
Returns
- string
- A string. 
ToString(DateTime)
Converts a DateTime to a string.
public static string ToString(DateTime value)Parameters
- valueDateTime
- The value. 
Returns
- string
- A string. 
ToString(DateTimeOffset)
Converts a DateTimeOffset to a string.
public static string ToString(DateTimeOffset value)Parameters
- valueDateTimeOffset
- The value. 
Returns
- string
- A string. 
ToString(decimal)
Converts a Decimal to a string.
public static string ToString(decimal value)Parameters
- valuedecimal
- The value. 
Returns
- string
- A string. 
ToString(Decimal128)
Converts a Decimal128 to a string.
public static string ToString(Decimal128 value)Parameters
- valueDecimal128
- The value. 
Returns
- string
- A string. 
ToString(double)
Converts a Double to a string.
public static string ToString(double value)Parameters
- valuedouble
- The value. 
Returns
- string
- A string. 
ToString(float)
Converts a Single to a string.
public static string ToString(float value)Parameters
- valuefloat
- The value. 
Returns
- string
- A string. 
ToString(int)
Converts an Int32 to a string.
public static string ToString(int value)Parameters
- valueint
- The value. 
Returns
- string
- A string. 
ToString(long)
Converts an Int64 to a string.
public static string ToString(long value)Parameters
- valuelong
- The value. 
Returns
- string
- A string. 
ToString(short)
Converts an Int16 to a string.
public static string ToString(short value)Parameters
- valueshort
- The value. 
Returns
- string
- A string. 
ToString(uint)
Converts a UInt32 to a string.
[CLSCompliant(false)]
public static string ToString(uint value)Parameters
- valueuint
- The value. 
Returns
- string
- A string. 
ToString(ulong)
Converts a UInt64 to a string.
[CLSCompliant(false)]
public static string ToString(ulong value)Parameters
- valueulong
- The value. 
Returns
- string
- A string. 
ToString(ushort)
Converts a UInt16 to a string.
[CLSCompliant(false)]
public static string ToString(ushort value)Parameters
- valueushort
- The value. 
Returns
- string
- A string.