What is the output of the following code?
using System; class Program { static int score; static void Main(string[] args) { switch (score) { case 1: Console.WriteLine(" Poor performance"); break; case 2: Console.WriteLine(" Good performance"); default: break; case 3: Console.WriteLine(" Excellent performance"); break; } } }
Compile time error
In C#, we cannot fall through from one case label to another.