I am experimenting with the compound assignment operators and I understand how they work with boolean types but I do not understand how things work with integers or characters.
I know that this is not useful, I am just experimenting. So I have this integer that has the value of 10 and whenever I do the following, it outputs 12 but I do not know why. Please help me.
int oppo = 10;
Console.WriteLine(oppo^=6);