BitConverterGetBytes Method (Boolean) |
Returns the specified Boolean value as an array of bytes.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static byte[] GetBytes(
bool value
)
Parameters
- value
- Type: SystemBoolean
A Boolean value.
Return Value
Type:
ByteAn array of bytes with length 1.
See Also