public Whip(Beverage beverage) { this.beverage = beverage; }
private static void DescribeBeverage(Beverage caffeLatte) { Console.WriteLine("Beverage: {0}, Cost: {1}", caffeLatte.Description, caffeLatte.Cost); }
public Mocha(Beverage beverage) { this.beverage = beverage; }
public Whip(Beverage beverage) : base("Whip") { m_beverage = beverage; }
public Mocha(Beverage beverage) { this.beverage = beverage; price = 0.2f; }
public Whip(Beverage beverage) { this.beverage = beverage; price = 0.1f; }
public Mocha(Beverage beverage) : base("Mocha") { m_beverage = beverage; }
public Whip(Beverage beverage) { Description = beverage.Description + ", Whip"; this._beverage = beverage; }
public Soy(Beverage beverage) { this.beverage = beverage; }
public Cream(Beverage newBeverage) { this.beverage = newBeverage; }
public Whip(Beverage b) { this.beverage = b; }
static void Print(Beverage beverage) { Console.WriteLine(beverage.GetDescription() + " $" + beverage.Cost()); }
public Soy(Beverage b) { this.beverage = b; }
public Milk(Beverage beverage) { this.beverage = beverage; }
public Soy(Beverage beverage) : base("Soy") { m_beverage = beverage; }
public Mocha(Beverage b) { this.beverage = b; }
public Mocah(Beverage beverage) { this.beverage = beverage; }