Method IsSet
IsSet(int)
Returns true if the bit at an index is 1.
Declaration
public bool IsSet(int pos)
Parameters
| Type | Name | Description |
|---|---|---|
| int | pos | Index of the bit to test. |
Returns
| Type | Description |
|---|---|
| bool | True if the bit at the index is 1. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | Thrown if |