예제 #1
0
파일: Program.cs 프로젝트: brahammar/dev15
        private static void MenuSelectTwo(List<Session> sesions, Tuotenro selectedItem)
        {
            Console.WriteLine(
                $"You chose nummber \"{(int)selectedItem}\" that coresponded to \"{selectedItem}\" in the menu."
                );

            if (sesions.Count > 0)
                sesions.RemoveAt(sesions.Count - 1);
            else
                Console.WriteLine("No more sessions to remove.");
        }
예제 #2
0
파일: Program.cs 프로젝트: brahammar/dev15
 private static void MenuSelectionTrhee(Tuotenro selectedItem)
 {
     Console.WriteLine(
         $"You chose nummber \"{(int)selectedItem}\" that coresponded to \"{selectedItem}\" in the menu."
         );
 }