Ejemplo n.º 1
0
 public Person2(string[] names, Address2 address)
 {
     if (names == null)
     {
         throw new ArgumentNullException(paramName: nameof(names));
     }
     if (address == null)
     {
         throw new ArgumentNullException(paramName: nameof(address));
     }
     Names   = names;
     Address = address;
 }
Ejemplo n.º 2
0
 public Address2(Address2 other)
 {
     StreetName  = other.StreetName;
     HouseNumber = other.HouseNumber;
 }
Ejemplo n.º 3
0
 public Person2(Person2 other)
 {
     Names   = other.Names;
     Address = new Address2(other.Address);;
 }