Пример #1
0
        public override double Cost()
        {
            double price = 1.00;

            return(price + IceCream.Cost());
        }
Пример #2
0
 public override double Cost()
 {
     return(0.25 + IceCream.Cost());
 }