Initializes a new BitArray. The capacity and the initial values can be specified.
Creates a new BitArray with the capacity to hold the specified number of bit values, and initializes each bit to false.
[Visual Basic] Overloads Public Sub New(Integer)
[C#] public BitArray(int);
[C++] public: BitArray(int);
[JScript] public function BitArray(int);
Creates a new BitArray with the capacity to hold the specified number of bit values, and initializes each bit to the specified value.
[Visual Basic] Overloads Public Sub New(Integer, Boolean)
[C#] public BitArray(int, bool);
[C++] public: BitArray(int, bool);
[JScript] public function BitArray(int, Boolean);
Copies the values of the bits in an array of bytes into a new BitArray.
[Visual Basic] Overloads Public Sub New(Byte())
[C#] public BitArray(byte[]);
[C++] public: BitArray(unsigned char*[]);
[JScript] public function BitArray(Byte[]);
Copies the values of the bits in an array of 32-bit integers into a new BitArray.
[Visual Basic] Overloads Public Sub New(Integer())
[C#] public BitArray(int[]);
[C++] public: BitArray(int*[]);
[JScript] public function BitArray(int[]);
Copies the values of the bits in the specified BitArray into a new BitArray.
[Visual Basic] Overloads Public Sub New(BitArray)
[C#] public BitArray(BitArray);
[C++] public: BitArray(BitArray*);
[JScript] public function BitArray(BitArray);
BitArray Class | BitArray Members | System.Collections Namespace