static void Main(string[] args) { IPizza pizza = new CheesePizza(new CapsicumPizza(new BasePizza())); Console.WriteLine(pizza.getCost()); }
static void Main(string[] args) { IPizza pizza = new CheesePizza(new CapsicumPizza(new BasePizza())); Console.WriteLine(pizza.getCost()); }