Exemple #1
0
 public override string Description() => _icecream.Description() + " with Jelly";
Exemple #2
0
 public override string Description()
 {
     return(_icecream.Description() + " with Chocochips");
 }
Exemple #3
0
 public override string Description() => _icecream.Description() + " with Almond";
 public override string Description() => _icecream.Description() + " with Cookies";
 public override string Description() => _icecream.Description() + " with Pistachio";
 private static void Print(IceCreamBase iceCream)
 {
     Console.WriteLine("***************************************************");
     Console.WriteLine("-----------Billing---------");
     Console.WriteLine($"{iceCream.Description()} : {iceCream.Cost()} $");
 }
Exemple #7
0
 public override string Description() => _icecream.Description() + " with Fruits";
Exemple #8
0
 public override string Description() => _icecream.Description() + " with Cashew";