Example #1
0
        public void CheckFullCourse()
        {
            int count = Course.GetMaxStudents();

            Course course = new Course();
            for (int i = 0; i < count + 1; i++)
            {
                Student student = new Student("Pesho");
                course.Join(student);
            }
        }