public bool Equals(ListResultWrapper?other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } if (GetType() != other.GetType()) { return(false); } if (ReferenceEquals(_listResult, other._listResult)) { return(true); } return(_listResult.Equals(other._listResult)); }