Int32Extensions.ToBinaryString Method
Definition
Converts an int to its binary string representation, e.g. "0b00000000000000000000000001011010".
public static string ToBinaryString(this int value);
Parameters
| Name | Type | Description |
|---|---|---|
| value | Int32 |
Returns
A 34-character string prefixed with "0b" followed by 32 binary digits.