コード例 #1
0
ファイル: Program.cs プロジェクト: amarkwong/homework1
        public static void showCourseMenu()
        {
            //SHOW MENU
            Console.WriteLine("SHOW A COURSE DETAIL");
            Console.WriteLine("Please input the course name");
            String courseName = Console.ReadLine();

            try
            {
                school.showCourseDetail(courseName);
            }
            catch (Exception e)
            {
                Console.WriteLine(e.Message);
            }
            Console.WriteLine("Done");
            Console.WriteLine("Press any key to continue");
            Console.ReadLine();
        }