Beispiel #1
0
 public void AddBread(Bread inputBread, int numberOfTimes)
 {
     for (int i = 0; i < numberOfTimes; i++)
     {
         BreadList.Add(inputBread);
     }
 }
Beispiel #2
0
 public void AddBread(int amount)
 {
     for (int i = 0; i < amount; i++)
     {
         Bread bread = new Bread();
         BreadList.Add(bread);
     }
 }