UInt64Extensions.ResetBit Method
Definition
Returns a new ulong with the bit at the specified index cleared.
public static ulong ResetBit(this ulong value, int index);
Parameters
| Name | Type | Description |
|---|---|---|
| value | UInt64 | |
| index | Int32 | The zero-based bit index to reset. |
Returns
A new ulong with the specified bit cleared.