// Logic which runs the main menu and allows user to navigate throughout the application public static void LaunchMainMenu() { string menuOptionSelected = ""; Deck <Card> myDeck = new Deck <Card>(); myDeck = myDeck.CreateDeck(); do { menuOptionSelected = ""; PrintMainMenuOptions(); menuOptionSelected = Console.ReadLine(); Console.Clear(); switch (menuOptionSelected) { case "1": myDeck.PrintDeck(myDeck); PromptReturnToMenu(); Console.Clear(); break; case "2": myDeck.ShuffleDeck(); myDeck.PrintDeck(myDeck); PromptReturnToMenu(); Console.Clear(); break; case "3": AddACard(myDeck); myDeck.PrintDeck(myDeck); PromptReturnToMenu(); Console.Clear(); break; case "4": RemoveTheCard(myDeck); myDeck.PrintDeck(myDeck); PromptReturnToMenu(); Console.Clear(); break; case "5": Environment.Exit(0); break; default: Console.WriteLine("Your selection did not match one of the options below...\n"); break; } } while (menuOptionSelected != "5"); }