Method Clear
Clear(BitArray, Int32)
Sets the bit at the given index
to false.
Declaration
public static void Clear(this BitArray bits, int index)
Parameters
Type | Name | Description |
---|---|---|
BitArray | bits | The BitArray object. |
System.Int32 | index | The position to set to false. |
Clear(BitArray)
Sets all bits to false
Declaration
public static void Clear(this BitArray bits)
Parameters
Type | Name | Description |
---|---|---|
BitArray | bits | The BitArray object. |
Clear(BitArray, Int32, Int32)
Declaration
public static void Clear(this BitArray bits, int startIdx, int endIdx)
Parameters
Type | Name | Description |
---|---|---|
BitArray | bits | |
System.Int32 | startIdx | |
System.Int32 | endIdx |