Example #1
0
 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;
 }
Example #3
0
 public Student(string name, int classID, Comment text)
     : base(name,text)
 {
     this.ClassID = classID;
 }
Example #4
0
 public Person(string name, Comment text)
 {
     this.Name = name;
     this.Comment = text;
 }