public static void ServicesMenu() { int?serviceNameChoice = MenuUtils.GetIntChoice(MenuUtils.ServicesMenu(), 1, 10); switch (serviceNameChoice) { case 1: string nameService = "serviceName 1"; Console.WriteLine("Choosen service : {0}", nameService); ServiceNameChoice(nameService); break; case 2: nameService = "serviceName 2"; Console.WriteLine("Choosen service : {0}", nameService); ServiceNameChoice(nameService); break; case 3: nameService = "serviceName 3"; Console.WriteLine("Choosen service : {0}", nameService); ServiceNameChoice(nameService); break; case 4: nameService = "serviceName 4"; Console.WriteLine("Choosen service : {0}", nameService); ServiceNameChoice(nameService); break; case 5: nameService = "serviceName 5"; Console.WriteLine("Choosen service : {0}", nameService); ServiceNameChoice(nameService); break; case 6: nameService = "serviceName 6"; Console.WriteLine("Choosen service : {0}", nameService); ServiceNameChoice(nameService); break; case 7: nameService = "serviceName 7"; Console.WriteLine("Choosen service : {0}", nameService); ServiceNameChoice(nameService); break; case 8: nameService = "serviceName 8"; Console.WriteLine("Choosen service : {0}", nameService); ServiceNameChoice(nameService); break; case 9: nameService = "serviceName 9"; Console.WriteLine("Choosen service : {0}", nameService); ServiceNameChoice(nameService); break; case 10: nameService = "serviceName 10"; Console.WriteLine("Choosen service : {0}", nameService); ServiceNameChoice(nameService); break; case 11: MainMenu(); break; default: Menu.ServicesMenu(); break; } }