That’s right, I said ‘operators’ -- not methods. This means you can finally do bitwise operations at the assembly level, instead of incurring method call overhead for doing them.
The new operators are: And, Or, Xor and Not (crazy names, eh?) and you’d use them exactly how you’d expect. Foo And Bar, Not Wahoo And (Yippee XOr Kiyay), etc.
And is the new version of BitwiseAnd/Bitwise. BitAnd
Or is the new version of BitwiseOr/Bitwise. BitOr
XOr is the new version of BitwiseXOr/Bitwise. BitXOr
Not is the new version of Bitwise. OnesComplement
I should also note that XOr has become a logical (boolean) operator as well, and would behave as you’d expect when using true and false instead of integer values. Learn more, download today!