public static void LeaveOffice(Person person, Office office) { office.OnLeave -= person.Farewell; office.OnCome -= person.Greeting; person.LeavingOffice(); Console.WriteLine(); }
public static void LeaveOffice(Person person, Office office) { office.OnLeave -= person.Farewell; office.OnCome -= person.Greeting; person.LeavingOffice(); Console.WriteLine(); }