示例#1
0
文件: Contact.cs 项目: ToldYa/C-sharp
 public Contact(string firstName, string lastName)
 {
     this.firstName = new FirstName(firstName);
     this.lastName  = new LastName(lastName);
 }
示例#2
0
文件: Contact.cs 项目: ToldYa/C-sharp
 public Contact(string firstName, string lastName, ContactNumber number)
 {
     this.firstName = new FirstName(firstName);
     this.lastName  = new LastName(lastName);
     this.number    = number;
 }