Gets the number of elements contained in the BitArray.
A int that specifies the number of elements contained in the current instance.
BitArray.Length and BitArray.Count return the same value. BitArray.Length can be set to a specific value, but BitArray.Count is read-only.
Retrieving the value of this property is an O(1) operation.