I have a python script with the below conditional in it and I need to convert it to C# yet I'm not sure how to interpret the conditional:
crc = 0xFFF
ch = 0x3C & 0xFF
if (ch & 1) ^ (crc & 1):
#do code
If someone could explain to me how that if will be evaluated so I can create the same conditional in C# that would be greatly appreciated!