IBitwiseOperators<TSelf,TOther,TResult>.ExclusiveOr Operator

Definition

Computes the exclusive-or of two values.

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

Parameters

left
TSelf

The value to xor with right.

right
TOther

The value to xor with left.

Returns

TResult

The exclusive-or of left and right.

Applies to

Product Versions
.NET 7, 8, 9