Пример #1
0
 public Teacher(string name, Comment textComment, params Disciplines[] disciplines)
     : base(name, textComment)
 {
     foreach (var discipline in disciplines)
     {
         this.disciplines.Add(discipline);
     }
 }
Пример #2
0
 public Disciplines(string name, int numberOfExercises, int numberOfLecutres, Comment comment)
     : this(name, numberOfExercises, numberOfLecutres)
 {
     this.DiscComment = comment;
 }
Пример #3
0
 public Student(string name, int classID, Comment text)
     : base(name,text)
 {
     this.ClassID = classID;
 }
Пример #4
0
 public Person(string name, Comment text)
 {
     this.Name = name;
     this.Comment = text;
 }