IBitwiseOperators<TSelf,TOther,TResult>.BitwiseOr(TSelf, TOther) Operator

Definition

Computes the bitwise-or of two values.

C#
public static abstract TResult operator |(TSelf left, TOther right);

Parameters

left
TSelf

The value to or with right.

right
TOther

The value to or with left.

Returns

TResult

The bitwise-or of left and right.

Applies to

Product Versions
.NET 7, 8, 9, 10