public static void printInfo(Coffee c) { Debug.WriteLine("Cost: " + c.getCost() + "; Ingredients: " + c.getIngredients()); }
public override double getCost() { // Implementing methods of the interface return(decoratedCoffee.getCost()); }