public Teacher(string name, Comment textComment, params Disciplines[] disciplines) : base(name, textComment) { foreach (var discipline in disciplines) { this.disciplines.Add(discipline); } }
public Disciplines(string name, int numberOfExercises, int numberOfLecutres, Comment comment) : this(name, numberOfExercises, numberOfLecutres) { this.DiscComment = comment; }
public Student(string name, int classID, Comment text) : base(name,text) { this.ClassID = classID; }
public Person(string name, Comment text) { this.Name = name; this.Comment = text; }