public void DeleteSaveGame() { var currentSummaries = GetCurrentSaveSummaries(); var menuOptions = GetMenuOptions(currentSummaries); while (true) { int selection = UserInterface.UserInputHandler.SelectFromMenu( "Which save would you like to delete. This cannot be reversed", menuOptions, "Escape to exit"); if (selection == -1) { return; } int saveToDelete = currentSummaries[selection].GameData.GameID; UserDataManager.DeleteSaveGame(saveToDelete); ApplicationSettings.RemoveSaveGame(saveToDelete); currentSummaries.RemoveAt(selection); menuOptions.RemoveAt(selection); } }