예제 #1
0
 public void RemoveDishById(int id)
 {
     TotalCost -= Dishes.ElementAt(id).Price;
     Dishes.RemoveAt(id);
 }