protected bool Equals(StructuresAlone other) { return(string.Equals(Family, other.Family) && string.Equals(Name, other.Name) && string.Equals(Surname, other.Surname) && Pol == other.Pol && DateRo.Equals(other.DateRo) && DateSm.Equals(other.DateSm) && string.Equals(Country, other.Country) && string.Equals(TypeUl, other.TypeUl) && string.Equals(Street, other.Street) && string.Equals(House, other.House) && string.Equals(Apartament, other.Apartament) && string.Equals(Housing, other.Housing) && string.Equals(Phone, other.Phone) && string.Equals(PlaceWork, other.PlaceWork) && string.Equals(Dop, other.Dop) && DateExit.Equals(other.DateExit)); }
protected bool Equals(StructuresSojitel other) { return(string.Equals(Family, other.Family) && string.Equals(Name, other.Name) && string.Equals(Surname, other.Surname) && Pol == other.Pol && DateRo.Equals(other.DateRo) && DateSm.Equals(other.DateSm) && string.Equals(Dop, other.Dop)); }