I need to do an xor conditional between 3 values, ie i need one of the three values to be true but not more than one and not none.
I thought i could use the xor ^ op
Because I can't get enough Linq, how about:
new[] { a, b, c }.Count(v => v) == 1