Esempio n. 1
0
 public Student(int id, string firstName, string lastName, string slackHandle, Cohort cohort)
 {
     Exercises   = new List <Exercise>();
     FirstName   = firstName;
     LastName    = lastName;
     SlackHandle = slackHandle;
     Cohort      = cohort;
     Id          = id;
 }
Esempio n. 2
0
 // Constructor
 public Instructor(int id, string firstName, string lastName, string slackHandle, Cohort cohort, string specialty)
 {
     Id          = id;
     FirstName   = firstName;
     LastName    = lastName;
     SlackHandle = slackHandle;
     Specialty   = specialty;
     Cohort      = cohort;
 }