IBitwiseOperators<TSelf,TOther,TResult>.ExclusiveOr 运算符

定义

计算两个值的独占或 。

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

参数

left
TSelf

使用 的 xor right值。

right
TOther

使用 的 xor left值。

返回

TResult

rightleft独占 或 。

适用于