コード例 #1
0
ファイル: Person.cs プロジェクト: sweko/SEDC4-CSharp
 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;
 }
コード例 #2
0
ファイル: Person.cs プロジェクト: sweko/SEDC4-CSharp
 public Person(string firstName, string lastName, Address address, Vehicle car)
     : this(firstName, lastName, -1, address, car)
 {
 }