public PersonWithCopyConstructor(PersonWithCopyConstructor personWithCopyConstructor) { Name = personWithCopyConstructor.Name; Address = new AddressWithCopyConstructor(personWithCopyConstructor.Address); }
public AddressWithCopyConstructor(AddressWithCopyConstructor address) { Street = address.Street; City = address.City; PostalCode = address.PostalCode; }
public PersonWithCopyConstructor(string name, AddressWithCopyConstructor address) { Name = name; Address = address; }