This question already has an answer here:
- Parallel.ForEach vs AsParallel().ForAll 3 answers
I have a collection of Model classes and I wan't to Map each class individually to View Model classes.
I can use Parallel.ForEach
or ParallelEnumerable.ForAll
, so what is the difference between the 2, if any?
I couldn't find anything on MSDN.