static void Main(string[] args) { var gumballmachine = new UpgradedGumballMachine(150, "New York"); var monitor = new GumballMonitor(gumballmachine); monitor.Report(); }
static void Main(string[] args) { GumballMachine machine = new GumballMachine("Bail", 5, "Sold"); GumballMonitor monitor = new GumballMonitor(machine); monitor.report(); }