Beispiel #1
0
 public Enroll[] ListOfEnrollments()
 {
     Enroll[] enroll = new Enroll[En.Count()];
     foreach (var e in En)
     {
         int j = 0;
         enroll[j] = e;
         j++;
     }
     return(enroll);
 }
Beispiel #2
0
        public static void DisplayEnrollments(Enroll enroll)
        {
            AppEngine appEngine = new AppEngine();

            Console.WriteLine("List of enrollments are {0}", appEngine.ListOfEnrollments());
        }
Beispiel #3
0
        public void Enroll(Student student, Course course)
        {
            Enroll enroll = new Enroll(student, course);

            En.Add(enroll);
        }