// Trades the most traded commodity private void TradeMostTradedComm(int[,] marketShare) { int commID = Statistics.GetMostTradedComm(marketShare); TradeComm(this._commodities[commID], marketShare[marketShare.GetLength(0) - 1, 1]); }
// Trades the most traded commodity private void TradeMostTradedComm(int[,] marketShare) { int commID = Statistics.GetMostTradedComm(marketShare); TradeComm(this._commodities[commID], marketShare[marketShare.GetLength(0) - 1, 1]); }