BitArray Constructor (System.Collections)

Switch View :
ScriptFree
.NET Framework Class Library
BitArray Constructor

Initializes a new instance of the BitArray class whose capacity and initial values can be specified.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method BitArray(BitArray) Initializes a new instance of the BitArray class that contains bit values copied from the specified BitArray.
Public method BitArray(Boolean[]) Initializes a new instance of the BitArray class that contains bit values copied from the specified array of Booleans.
Public method BitArray(Byte[]) Initializes a new instance of the BitArray class that contains bit values copied from the specified array of bytes.
Public method BitArray(Int32) Initializes a new instance of the BitArray class that can hold the specified number of bit values, which are initially set to false.
Public method BitArray(Int32[]) Initializes a new instance of the BitArray class that contains bit values copied from the specified array of 32-bit integers.
Public method BitArray(Int32, Boolean) Initializes a new instance of the BitArray class that can hold the specified number of bit values, which are initially set to the specified value.
Top
See Also

Reference