What is best practice for sharing a variable between delegates?
One of my applications starts asynchronous delegates an arbitrary number of times. Those instances also start other asynchronous delegates an arbitrary number of times. I need a way for each delegate to know how many other delegates are active. Can anyone help?
I'm pretty new to this, I hope my terminology is clear enough.