using System; public class MainClass { static void Main() { string resp; do { Console.WriteLine("Menu\n\n1 - Task A"); Console.WriteLine("2 - Task B"); Console.WriteLine("E - E(xit)"); resp = (Console.ReadLine()).ToLower(); } while (resp != "e"); } }