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