Collections > Collections Assembly Classes > BitArray
The BitArray class implements an object that is a dynamic bit array.
Elements of dynamic bit array may store only logical value: True or False. To resize the array, use the Length property. On calling the element, which index is greater than Length, array size is extended automatically. All elements of the array are set to False by default.
Property name | Brief description | |
![]() |
Item | The Item property determines value of the array element. |
![]() |
Length | The Length property determines bit array size. |
Property name | Brief description | |
![]() |
Count | The Count property returns the number of array elements. |
Method name | Brief description | |
![]() |
Clone | The Clone method creates a copy of the array. |
![]() |
SetAll | The SetAll method sets each bit of bit array to True. |
Method name | Brief description | |
![]() |
CopyTo | The CopyTo method copies the collection into an array. |
See also: