Convert input from control to upper case
using System; public class MainClass { static void Main() { Console.WriteLine("Enter command:"); string resp = (Console.ReadLine()).ToLower(); switch (resp) { case "a": Console.WriteLine("Doing Task A"); break; case "b": Console.WriteLine("Doing Task B"); break; case "c": Console.WriteLine("Doing Task C"); break; default: Console.WriteLine("Bad choice"); break; } } }