I was reading some 3rd party code and I found this:
x.Flags = x.Flags ^ Flags.Hidden;
What does it do?
I\'ve used \'&\' and \'|
^ is the bitwise XOR operator in C#.
EDIT: a ^ b returns true if a is true and b is false or if a is false and b is true, but not both.