static void Main(string[] args) { var gumballmachine = new UpgradedGumballMachine(150, "New York"); var monitor = new GumballMonitor(gumballmachine); monitor.Report(); }
public GumballMonitor(UpgradedGumballMachine gumballMachine) { this.gumballMachine = gumballMachine; }