UInt16Extensions.ToBinaryString Method
Definition
Converts a UInt16 to its binary string representation, e.g. "0b0001001000110100".
public static string ToBinaryString(this ushort value);
Parameters
| Name | Type | Description |
|---|---|---|
| value | UInt16 |
Returns
An 18-character string prefixed with "0b" followed by 16 binary digits.