Beispiel #1
0
 public void Add(Product product)
 {
     products.Add(product);
 }
Beispiel #2
0
 public void Add(Product product)
 {
     Console.WriteLine("adding " + product + " to lunchbag");
     content.Add(product);
 }