static void Main(string[] args) { Course CourseA = new Course(); CourseA.PrintCourseInfo(); CourseA.GetClassInfo(); System.Console.ReadKey(); }