Esempio n. 1
0
        public object Clone()
        {
            HomeAddress address = new HomeAddress();

            address.City           = (string)this.City.Clone();
            address.Street         = (string)this.Street.Clone();
            address.HomeNumber     = (string)this.HomeNumber.Clone();
            address.PavilionNumber = (string)this.PavilionNumber.Clone();
            address.PorchNumber    = (string)this.PorchNumber.Clone();
            address.FloorNumber    = (string)this.FloorNumber.Clone();
            address.FlatNumber     = (string)this.FlatNumber.Clone();

            return(address);
        }
Esempio n. 2
0
 public ClientInformation()
 {
     Address = new HomeAddress();
 }