using System; class MainClass { static void Main() { for (int x = 1; x < 4; x++) { switch (x) { default: Console.WriteLine("x is {0} -- In Default case", x); break; } } } }
x is 1 -- In Default case x is 2 -- In Default case x is 3 -- In Default case