C# ^

摘自:C#中^是什么符号?

^ 位异或

二进制异或运算,5是101,6是110,取异或为011,为3
不同的时候得1,相同时为0

猜你喜欢

转载自blog.csdn.net/qq_34702563/article/details/86986070
C#