Exemplo n.º 1
0
 public Student(Person person, Person.Education education,int groupNumber)
 {
     _person = person;
     _education = education;
     _groupNumber = groupNumber;
     _exams = new List<Person.Exam>();
 }
Exemplo n.º 2
0
 public Student()
 {
     _person = new Person();
     _education = Person.Education.Вachelor;
     _groupNumber = 0;
     _exams = new List<Person.Exam>();
 }
Exemplo n.º 3
0
 public object DeepCopy()
 {
     Person person = new Person();
     person._dob = this._dob;
     person._firstName = this._firstName;
     person._lastName = this._lastName;
     person.IsDOBChangeble = this.IsDOBChangeble;
     return person;
 }
Exemplo n.º 4
0
 public bool this[Person.Education education]
 {
     get
     {
         return education == _education;
     }
 }