예제 #1
0
 public void Buy(decimal amount, decimal price)
 {
     Console.WriteLine($"Trying to buy {amount} shares for ${price}! Bork!");
     _state.Buy(this, amount, price);
     Console.WriteLine($"You now have {amount} stocks, and ${Money} borkin' bucks!");
 }