示例#1
0
 public override int GetHashCode()
 {
     return(PlayerName.GetHashCode() ^ playerNumber.GetHashCode() ^
            playerSymbol.GetHashCode());
 }
示例#2
0
 public override int GetHashCode()
 {
     // return PlayerPieces.GetHashCode() | OpponentPieces.GetHashCode();//same speed
     return(PlayerPieces.GetHashCode() ^ (int)(OpponentPieces >> 33));
 }