public bool Equals(UserQuestionnaireInfoPB other) { if (ReferenceEquals(other, null)) { return(false); } if (ReferenceEquals(other, this)) { return(true); } if (!ResultMap.Equals(other.ResultMap)) { return(false); } if (Answer != other.Answer) { return(false); } if (Status != other.Status) { return(false); } return(true); }