ConvertToString Method (Byte, Int32) |
Converts the value of an 8-bit unsigned integer to its equivalent string representation in a specified base.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static string ToString(
byte value,
int toBase
)
Parameters
- value
- Type: SystemByte
The 8-bit unsigned integer to convert. - toBase
- Type: SystemInt32
The base of the return value, which must be 2, 8, 10, or 16.
Return Value
Type:
StringThe string representation of
value in base
toBase.
Exceptions See Also