UInt64Extensions.ToBinaryString Method ​
Definition ​
Converts a ulong to its binary string representation, for example, "0b0000000100000010000000110000010000000101000001100000011100001000".
c#
public static string ToBinaryString(this ulong value);Parameters ​
| Name | Type | Description |
|---|---|---|
value | UInt64 |
Returns ​
A 66-character string prefixed with "0b" followed by 64 binary digits.