Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
 public Waiter(Cook leCuisiner, Cashier leCaissier, string nom) : base(nom)
 {
     this.monCuisinier = leCuisiner;
     this.leCaissier   = leCaissier;
 }