Ch4PizzaStore: first version

This commit is contained in:
2025-11-11 17:58:12 +01:00
parent d8c4395065
commit aa967b81a4
5 changed files with 100 additions and 0 deletions

11
Ch4PizzaStore/Program.cs Normal file
View File

@@ -0,0 +1,11 @@
// See https://aka.ms/new-console-template for more information
using Ch4PizzaStore;
PizzaStore nyStore = new NYPizzaStore();
PizzaStore chicagoStore = new ChicagoPizzaStore();
var pizza = nyStore.OrderPizza("cheese");
Console.WriteLine($"Ethan ordered a {pizza.Name}\n");
pizza = chicagoStore.OrderPizza("cheese");
Console.WriteLine($"Joel ordered a {pizza.Name}\n");