Exemplo n.º 1
0
        public void OutAPerson(Person person)
        {
            Console.WriteLine("[{0} {1}]", person.Name, Properties.Resources.Left);
            person.Exit();
            foreach (var p in this.people)
            {
                p.OnCame -= person.Welcome;
                p.OnOut  -= person.Farewell;
            }

            this.people.Remove(person);
        }