예제 #1
0
 public void Inform(Shop shop, Merchandise merchandise)
 {
     Console.WriteLine($"Customer {Name} informed about new {merchandise.Name} in {shop.Name}");
 }
예제 #2
0
 public void AddMerchandise(Merchandise merchandise)
 {
     _merchandises.Add(merchandise);
     Nofity(merchandise);
 }