Exemple #1
0
 public Person(Person other)
 {
     Names = new string[other.Names.Length];
     other.Names.CopyTo(Names, 0);
     Adress = new Adress(other.Adress);
 }
Exemple #2
0
 public Adress(Adress other)
 {
     streetName  = other.streetName;
     houseNumber = other.houseNumber;
 }
Exemple #3
0
 public Person(string[] names, Adress address)
 {
     this.Names  = names;
     this.Adress = address;
 }