예제 #1
0
 public void Buy(Stock stock)
 {
     Console.WriteLine("Stock [ Name: {0}, Quantity: {1} bought", stock.Name, stock.Quantity);
 }
예제 #2
0
 public void Sell(Stock stock)
 {
     Console.WriteLine("Stock [ Name: {0}, Quantity: {1} sold", stock.Name, stock.Quantity);
 }