I have a list which has 100,000 records.
I want to iterate throught the list and call a method in C#.
I want to run the method in 50 threads inside the list in order to increase performance.
I checked the option of Parallel.Foreach.
but not able to set how many threads should run
 
    