public void ManipulatingCourses()
        {
            var kent = new Person2();

            kent.Addcourse(new Course2 {
                Name = "Smalltalk Programming", IsAdvanced = false
            });
            kent.Addcourse(new Course2 {
                Name = "TDD", IsAdvanced = true
            });

            var refactoringCourse = new Course2 {
                Name = "Refactoring", IsAdvanced = true
            };

            kent.Addcourse(refactoringCourse);

            kent.Addcourse(new Course2 {
                Name = "Jasmine", IsAdvanced = true
            });
            kent.RemoveCourse(refactoringCourse);
        }
        public void GetCourseInfo()
        {
            var kent = new Person2();

            var advancedCourses = kent.Courses.Count(c => c.IsAdvanced);
        }