lenelex.com
Home
Quizzes
Games
Register
Log in
Question 1 of 20
What is the output of the following code snippet?
bool a = true; bool b = false; Console.WriteLine(a ^ b);
A. False
B. True
Links:
The Logical XOR Operator
Boolean Data Type