Method NextClearBit
NextClearBit(BitArray, Int32)
Returns the next un-set bit at or after index, or -1 if no such bit exists.
Declaration
public static int NextClearBit(this BitArray bitArray, int index)
Parameters
Type | Name | Description |
---|---|---|
BitArray | bitArray | |
System.Int32 | index | the index of bit array at which to start checking |
Returns
Type | Description |
---|---|
System.Int32 | the next set bit or -1 |