Exemplo n.º 1
0
        public static void Main(string[] args)
        {
            var coffee = new Coffee();

            Console.WriteLine(coffee.taste());
        }
Exemplo n.º 2
0
 public CoffeeMachine(Coffee type, Grinder grinder, WaterTank tank)
 {
     this.coffee  = type;
     this.grinder = grinder;
     this.tank    = tank;
 }