Skip to content

UInt32Extensions.ResetBit Method ​

Definition ​

Returns a new uint with the bit at the specified index cleared.

c#
public static uint ResetBit(this uint value, int index);

View source

Parameters ​

NameTypeDescription
valueUInt32
indexInt32The zero-based bit index to reset.

Returns ​

UInt32

A new uint with the specified bit cleared.