← Back to Question List
C# Code Walkthrough #7
Ternary Picks the Smaller Value
📄 Code
Read carefully — what does this print?1int a = 8, b = 5;2int min = (a < b) ? a : b;3Console.WriteLine(min);