public void Remove(Person person) { Persons.Remove(person); foreach (Person per in Persons) { person.Came -= per.Greet; per.Came -= person.Greet; person.Gone += per.Parting; } person.CloseDoor(); }
public void Remove(Person person) { Persons.Remove(person); foreach (Person per in Persons) { person.Came -= per.Greet; per.Came -= person.Greet; person.Gone += per.Parting; } person.CloseDoor(); }