Can anybody tell me ???why this following code is not working .Kindly let me know the idea.Any help would be highly appreciated.
Code:using System; class Example { static void Main() { int choice; choice =1; switch (choice) { case 1: Console.WriteLine("You Choose 1"); case 2: Console.WriteLine("You choose 2"); case 3: Console.WriteLine("You choose 3"); default: Console.WriteLine ("This is the defauld Option"); break; } } }


Reply With Quote

