BitArray.IndexOf Method (console safe)
Returns a index of first occurrence of a element in the array. This variation searches from start of the array.

IndexOf(
value
as Boolean)
as UInt64
Parameters
- value
- The value to search for
Returns
- UInt64
- The index of the found element or -1 if not found.
Remarks
See Also
BitArray Class