How to write this in C#.NET, I have not been encountered using the ^ or &
var reg_1 = 234 ^ (8393 & 1);
How to write this in C#.NET, I have not been encountered using the ^ or &
var reg_1 = 234 ^ (8393 & 1);
var reg_1 = 234 ^ (8393 & 1);
Or, if you prefer:
var reg_1 = 235;
(If you're not using C#3 then replace var
with int
.)
The ^
is the XOR operator. The &
is the AND operator.