Example #1
0
 public Person(string firstName, string lastName, int age, Address address, Vehicle car)
 {
     this.firstName = firstName;
     this.lastName = lastName;
     this.age = age;
     this.Address = address;
     this.Car = car;
 }
Example #2
0
 public Person(string firstName, string lastName, Address address, Vehicle car)
     : this(firstName, lastName, -1, address, car)
 {
 }