Method NextSetBit
NextSetBit(Int32)
Returns the index of the first set bit starting at the index
specified.
-1 is returned if there are no more set bits.
Declaration
public virtual int NextSetBit(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Type |
Description |
System.Int32 |
|
NextSetBit(Int64)
Returns the index of the first set bit starting at the index
specified.
-1 is returned if there are no more set bits.
Declaration
public virtual long NextSetBit(long index)
Parameters
Type |
Name |
Description |
System.Int64 |
index |
|
Returns
Type |
Description |
System.Int64 |
|