public bool CheckSearch(Group group) { if (null == group) { throw new ArgumentNullException("group", "The group cannot be NULL in a search."); } bool result = true; result &= true == IsNameSet?Name.Equals(group.Name) : true; result &= true == IsGIDSet?GID.Equals(group.GID) : true; result &= true == IsMembersSet?Members.ContainsAny(group.Members) : true; return(result); }