// member methods (Can do) public void AddLemonSoda(int cansOfLemon) { for (int i = 0; i < cansOfLemon; i++) { LemonSoda lemonSoda = new LemonSoda(); lemonSodas.Add(lemonSoda); } }
static void Main(string[] args) { SodaGame sodaGame = new SodaGame(); sodaGame.RunSodaGame(); GrapeSoda grapeSoda = new GrapeSoda(); LemonSoda lemonSoda = new LemonSoda(); OrangeSoda orangeSoda = new OrangeSoda(); sodaGame.SodaMachine.DisplayScreen(); sodaGame.SodaMachine.EnterMoney(); }