ConvertToBoolean Method (SByte) |
Converts the value of the specified 8-bit signed integer to an equivalent Boolean value.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static bool ToBoolean(
sbyte value
)
Parameters
- value
- Type: SystemSByte
The 8-bit signed integer to convert.
Return Value
Type:
Booleantrue if
value is not zero; otherwise, false.
See Also