Parallel ForEach and Task.WhenAny demo application
Demo soure code of a simple WPF Desktop Application to demonstrate how you can use Task Parallel Library ForEach for CPU-bound operations and how you can use Task.WhenAny for IO-bound operations
Notes
In WPF desktop sample I didn't use MVVM to have a minimalistic example
In Progress, Cancellation and Parallel samples source code I used ReactiveUI as MVVM framework, MahApps and OpenCVSharp for simulating a CPU-bound expensive operation. If you are interested in this projects it's worth checkin it out since they are a minimalistic example and easy to see how they work.