ConvertToByte Method (SByte) |
Converts the value of the specified 8-bit signed integer to an equivalent 8-bit unsigned integer.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static byte ToByte(
sbyte value
)
Parameters
- value
- Type: SystemSByte
The 8-bit signed integer to be converted.
Return Value
Type:
ByteAn 8-bit unsigned integer that is equivalent to
value.
Exceptions Exception | Condition |
---|
OverflowException | value is less than MinValue. |
See Also