public override string ToString() { var sb = new StringBuilder(); for (int i = 0; i < Board.Length; i++) { sb.AppendFormat("{0}", Game.BoardValue(Board, i)); sb.Append((i + 1) % 3 == 0 ? " $ " : ","); } sb.Append("(move: "); sb.Append(Move); sb.Append(" $ player: "); sb.Append(PlayerSymbol); sb.Append(" $ depth: "); sb.Append(Depth);; sb.Append(" $ Max: "); sb.Append(MinMaxValue); sb.Append(" $ id: "); sb.Append(id); sb.Append(")"); return(sb.ToString()); }