← Back to Question List
C# Code Walkthrough #14
Stacked Switch Case Labels
📄 Code
Read carefully — what does this print?1int day = 6;2switch (day)3{4 case 6:5 case 7:6 Console.WriteLine("Weekend");7 break;8 default:9 Console.WriteLine("Weekday");10 break;11}