static void Main(string[] args) { //INIT MAIN MENU int i = 0; Console.WriteLine("__________________ WELCOME ___________________\n"); menu: Console.BackgroundColor = ConsoleColor.Blue; Console.WriteLine(listVehicles.Capacity()); //Shows remaining space Console.ResetColor(); Console.WriteLine("________________________________________________\n"); Console.WriteLine(" Press 1 to ADD\n" + " Press 2 to SEARCH\n" + " Press 3 to DELETE\n" + " Press 4 to EDIT\n" + " Press 5 to LIST ALL\n"); Console.BackgroundColor = ConsoleColor.DarkRed; Console.WriteLine("Press 0 to EXIT\n"); if (Convert.ToBoolean(i)) { Console.WriteLine("Press 9 to CLEAR TEXT\n"); } Console.ResetColor(); Console.WriteLine("________________________________________________\n"); i = 1; switch (Convert.ToInt32(Console.ReadLine())) { case 0: Environment.Exit(0); break; case 1: addmenu(); break; case 2: searchmenu(); break; case 3: delete(); break; case 4: editmenu(); break; case 5: showall(); break; case 9: Console.Clear(); break; default: Console.WriteLine("Wrong input"); break; } goto menu; }