public bool AddMember(User user) { if (user == null) { return(false); } if (GroupMember.Count <= MaxMembersInGroup) { GroupMember.Add(user); return(true); } return(false); }