Пример #1
0
 public static void AddBread(Bread bread, int quantity)
 {
     for (int i = 0; i <= quantity; i++)
     {
         BreadOrder.Add(bread);
     }
 }
Пример #2
0
 // Amount of bread purchase is added to the BreadsOrder list
 public void AddBread(Bread bread)
 {
     BreadOrder.Add(bread);
 }