A AA2e72E Jun 4, 2008 #1 Been sctraching my head about why the result is 1! What is the powerof operator in C#?
P Peter Morris Jun 4, 2008 #2 Because ^ is the bitwise XOR (exclusive-or) operator. Not to be confused with 1 to the power of zero, which actually *should* be 1
Because ^ is the bitwise XOR (exclusive-or) operator. Not to be confused with 1 to the power of zero, which actually *should* be 1