I have a situation where I have a class that goes out and queries several web services. Now, I have production classes in place that can already call these web services, but I want them all to begin at relatively the same time. Also, I do not want to continue to the next step until each call has completed.
I know I can and should do this using an approach of multiple threads, but I cannot seem to get the thread process nailed down. I first tried to apply an example I found online for pooled threads, and I just tried using an example applying WaitAllEvents. I am certainly missing something, and this is (obviously) my first time dealing with threads in this fashion.
What I need is a generic, but self-explanatory example on how to start a handful of threads in a method, and then wait for all of them to finish before proceeding. I would prefer to not see links to sites that I have likely already visited. Your help is greatly appreciated.