I am developing a console app.
I want to use a Threadpool to perform web downloads. Here is some fake code.
for (int loop=0; loop< 100; loop++)
You can do this using the ThreadPool.SetMaxThreads method.
But there are some problems using the ThreadPool for WebRequest. Read, for example, this (Bug in ThreadPool or HttpWebRequest?)
ThreadPool.SetMaxThreads(2,2);
Personally i would use AsParallel from Linq, for this.