Community

ParallelLoopState and Parallel.ForEach

(K. Scott Allen) The Task Parallel Library is a joy to work with – it’s easy to use and thorough. Recently I was using Parallel.ForEach to process a large collection, but wanted to stop processing early, across all threads, if an individual item met specific criteria.

Read More - Register for Free Membership