Пример #1
0
 public void setDateOfBirth(OurDate dob)
 {
     this.dob = dob;
 }
Пример #2
0
 public Employee(string n, double sal, OurDate dob)  //parameterized Constructor
 {
     this.name   = n;
     this.salary = sal;
     this.dob    = dob;
 }