Int32Extensions.LeftMostBit Method
Definition
Gets the left-most bit (bit 31) of an int.
public static bool LeftMostBit(this int value);
Parameters
| Name | Type | Description |
|---|---|---|
| value | Int32 |
Returns
true if the left-most bit is set; false otherwise.
Gets the left-most bit (bit 31) of an int.
public static bool LeftMostBit(this int value);
| Name | Type | Description |
|---|---|---|
| value | Int32 |
true if the left-most bit is set; false otherwise.