Search notes:

System.Convert (class)

System.Convert converts between base types.

To… methods

The To…() methods convert from a given type to a desired type.
Converting to an integral numeric type is possible with the following methods: ToByte, ToSByte, ToInt16, ToUInt16, ToInt32, ToUInt32, ToInt64 and ToUInt64.
Internally, these To…() methods call ….Parse().
Other conversions are possible with ToBoolean, ToChar, ToDateTime, ToDecimal, ToDouble, ToHexString, ToString, ToBase64String and ToBase64CharArray.
See also the ToX methods found in System.BitConverter.

See also

System.Convert.DBNull()
System.Convert.FromHexString()
System.String.ToCharArray()

Index