int n = 4; // condition ? whenTrue : whenFalse string label = n % 2 == 0 ? "even" : "odd"; Console.WriteLine(label);
a value chosen inline