示例#1
0
 public void removeStock(Stock s)
 {
     s.quantity--;
 }
示例#2
0
 public void addStock(Stock s)
 {
     stocks.Add(s);
 }