static void Main(string[] args) { Coffee coffee = new Coffee(); Milk milk = new Milk(); MilkCoffee milkcoffee = coffee + milk; }
public MilkCoffee(Coffee coffee, Milk milk) { this.coffee = coffee; this.milk = milk; }
static void Main(string[] args) { Coffee coffee = new Coffee(); Milk milk = new Milk(); MilkCoffee milkcoffee = coffee + milk; }
public MilkCoffee(Coffee coffee, Milk milk) { this.coffee = coffee; this.milk = milk; }