Redigera

Dela via


IBitwiseOperators<TSelf,TOther,TResult>.ExclusiveOr Operator

Definition

Computes the exclusive-or of two values.

public:
 static TResult operator ^(TSelf left, TOther right);
public static abstract TResult operator ^ (TSelf left, TOther right);
static member ( ^^^ ) : 'Self * 'Other -> 'Result
Public Shared Operator Xor (left As TSelf, right As TOther) As TResult

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