System.Convert
converts between base types. To…()
methods convert from a given type to a desired type. ToByte
, ToSByte
, ToInt16
, ToUInt16
, ToInt32
, ToUInt32
, ToInt64
and ToUInt64
. To…()
methods call ….Parse()
. ToBoolean
, ToChar
, ToDateTime
, ToDecimal
, ToDouble
, ToHexString
, ToString
, ToBase64String
and ToBase64CharArray
. ToX
methods found in System.BitConverter
.