UInt32Extensions.ToBinaryString Method ​
Definition ​
Converts a uint to its binary string representation, for example, "0b00000001000000100000001100000100".
c#
public static string ToBinaryString(this uint value);Parameters ​
| Name | Type | Description |
|---|---|---|
value | UInt32 |
Returns ​
A 34-character string prefixed with "0b" followed by 32 binary digits.