I have a List. Each Timer fires at a configurable interval (default 10 minutes). All call the same callback method (with a diffe
It's probably not possible to wait for exit in console application.
For windows forms application:
You can create a static running callback counter variable which will be increased each time the callback is started and decreased on exit. Of course, you should use lock when doing this.
And then you can check the corresponding event and whether wait for a counter to become 0 or just to cancel the exit.