I passed .NET quiz, when I met a question like below one.
Char ch = Convert.ToChar(\'a\' | \'e\' | \'c\' | \'a\');
In console we can see that o
"|" is the binary OR operator.
'a' binary representation is 01100001 'e' binary representation is 01100101 'c' binary representation is 01100011
The result of the OR is 01100111, whose char representation is g
OR
01100111
g