Exemplo n.º 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);
 }
Exemplo n.º 2
0
        public static void DisplayEnrollments(Enroll enroll)
        {
            AppEngine appEngine = new AppEngine();

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

            En.Add(enroll);
        }