.NET Framework Class Library
BitArray Methods
The BitArray type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
And | Performs the bitwise AND operation on the elements in the current BitArray against the corresponding elements in the specified BitArray. |
|
Clone | Creates a shallow copy of the BitArray. |
|
CopyTo | Copies the entire BitArray to a compatible one-dimensional Array, starting at the specified index of the target array. |
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
Get | Gets the value of the bit at a specific position in the BitArray. |
|
GetEnumerator | Returns an enumerator that iterates through the BitArray. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Not | Inverts all the bit values in the current BitArray, so that elements set to true are changed to false, and elements set to false are changed to true. |
|
Or | Performs the bitwise OR operation on the elements in the current BitArray against the corresponding elements in the specified BitArray. |
|
Set | Sets the bit at a specific position in the BitArray to the specified value. |
|
SetAll | Sets all bits in the BitArray to the specified value. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
Xor | Performs the bitwise exclusive OR operation on the elements in the current BitArray against the corresponding elements in the specified BitArray. |
Extension Methods
| Name | Description | |
|---|---|---|
|
AsParallel | Enables parallelization of a query. (Defined by ParallelEnumerable.) |
|
AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
|
Cast<TResult> | Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
|
OfType<TResult> | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
|
ICollection.CopyTo | Copies the elements of the BitArray to an Array, starting at the specified Array index. |
See Also