public override string ToString() { return(string.Format( " Precio Base: " + this.PrecioBase + " ID: " + this.ID + " Calle: " + this.Calle + " Num puerta: " + this.NumPuerta + " Barrio: " + Barrio.ToString() + " Cantidad de baños: " + this.CantBanios + " Cantidad de dormitorios: " + this.CantDorm + " Metraje: " + this.Metraje + " Año: " + this.Anio)); }