Пример #1
0
 public Chantilly(Dessert d) : base(d)
 {
     this.IngredientName  = DEFAULT_NAME_INGREDIENT;
     this.IngredientPrice = DEFAULT_PRICE_INGREDIENT;
     Console.WriteLine(this.AdMessage());
 }
Пример #2
0
 public Chocolat(Dessert d) : base(d)
 {
     this.IngredientName  = DEFAULT_INGREDIENT_NAME;
     this.IngredientPrice = DEFAULT_INGREDIENT_PRICE;
     this.PercentCocoa    = DEFAULT_COCOA_PERCENT;
 }