Пример #1
0
 public void SoldCoin(Coin coin, float amount)
 {
 }
Пример #2
0
        public void BoughtCoin(Coin coin, float amount)
        {
            float price = coin.PriceUSD * amount;

            Portfolio.AddCoin(coin, amount, price);
        }