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