public static void Main()
Item itemInfo = new Item{Name = "ProductA", Price = 10, StockInHand = 14};
itemInfo.Alert += Order.RefillRequest;
itemInfo.StockInHand -= 5;
itemInfo.StockInHand -= 5;
internal event Action<object> Alert;
private int _stockInHand;
private int _itemId = +1;
Console.WriteLine("Item instock is {0}", _stockInHand);
internal static class Order
internal static void RefillRequest(object obj)
Console.WriteLine("Item in stock in hand has reduced less than five. Please refill");