static void Main(string[] args) { Console.WriteLine("What type is declared when delegate keyword is used?"); Console.WriteLine(typeof(Learn).BaseType.ToString()); Console.WriteLine(); Student student = new Student(); ProgrammingCourse course = new ProgrammingCourse(); student.AttendToCourse(course); //After a long time student will call student.StartLearningBecauseExamIsTomorrow(); Console.Read(); }