/// <summary> /// Override of the get hash code method. /// </summary> /// <returns></returns> public override int GetHashCode() { //Calculate the hash code for the GPOPolicy. return(_id.GetHashCode() ^ NumberOfPeople.GetHashCode() ^ Type.GetHashCode()); }