.NET Core and More

VSW16 Run Faster: Parallel Programming in C#


4:00pm - 5:15pm

Level: Introductory to Intermediate

Jeremy Clark

Developer Educator


Want to see code run 6 times faster? Join me as we use parallel programming to make full use of our multi-core systems. We'll use techniques such as the .NET Parallel.ForEach for each, and we'll also spin up Tasks manually to take more control over the process. Along the way, we'll see how to write code that is easy to run in parallel (warning: it may start you down the path of functional programming). Use the hardware you have to run faster.

You will learn:

  • Preparing code to run in parallel
  • Using Parallel.ForEach for independent processes
  • Spinning up Tasks for more control over parallel processing