Blog

What is the output of the code below?

char value = ‘x’;
Console.WriteLine(value);
char value2 = ‘Y’;
Console.WriteLine(true ? value : 0);