System.Collections.BitArray.Get Method

Gets the value of the bit at a specific position in the BitArray.

Syntax

public bool Get (int index)

Parameters

index
The zero-based index of the value to get.

Returns

The value of the bit at position index.

Remarks

This method is an O(1) operation.

Requirements

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0