Int64.IBitwiseOperators<Int64,Int64,Int64>.ExclusiveOr 運算子

定義

計算兩個值的獨佔或兩個值。

C#
static long IBitwiseOperators<long,long,long>.operator ^(long left, long right);

參數

left
Int64

使用 將 值設定 right 為 xor。

right
Int64

使用 將 值設定 left 為 xor。

傳回

和 的 leftright 獨佔或 。

實作

適用於

產品 版本
.NET 7, 8, 9, 10