Exemplo n.º 1
0
 public Person DeepCopy()
 {
     return(new Person(Names, Address.DeepCopy()));
 }
 public Employee DeepCopy()
 {
     return(new Employee(Name, Address.DeepCopy()));
 }