Int16.IBitwiseOperators<Int16,Int16,Int16>.BitwiseOr Operator

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Computes the bitwise-or of two values.

C#
static short IBitwiseOperators<short,short,short>.operator |(short left, short right);

Parameters

left
Int16

The value to or with right.

right
Int16

The value to or with left.

Returns

The bitwise-or of left and right.

Implements

Applies to

Product Versions
.NET 7, 8, 9, 10