Пример #1
0
 public static void YouHaveAdded(ItemModel item)
 {
     Console.WriteLine($"You have added : {item.ItemDescription} costing {item.UnitPrice}");
 }
Пример #2
0
 public void AddItem(ItemModel item)
 {
     Items.Add(item);
 }