System.Collections.BitArray.Or Method

Performs the bitwise OR operation on the elements in the current BitArray against the corresponding elements in the specified BitArray.

Syntax

public BitArray Or (BitArray value)

Parameters

value
The BitArray with which to perform the bitwise OR operation.

Returns

The current instance containing the result of the bitwise OR operation on the elements in the current BitArray against the corresponding elements in the specified BitArray.

Remarks

The bitwise OR operation returns true if one or both operands are true, and returns false if both operands are false.

This method is an O(n) operation, where n is BitArray.Count.

Requirements

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0