static void Main(string[] args) { Cashier michel = new Cashier("Luigi"); Cook louis = new Cook("Louis"); Client c = new Client("Roger"); Waiter w = new Waiter(louis, michel, "michel"); c.SeatAtTable(w); Console.ReadLine(); }
public Waiter(Cook leCuisiner, Cashier leCaissier, string nom) : base(nom) { this.monCuisinier = leCuisiner; this.leCaissier = leCaissier; }