We may earn an affiliate commission when you visit our partners.

Concurrency in C# Cookbook

Stephen Cleary

If you're one of many developers still uncertain about concurrent and multithreaded development, this practical cookbook will change your mind. With more than 85 code-rich recipes in this updated second edition, author Stephen Cleary demonstrates parallel processing and asynchronous programming techniques using libraries and language features in .NET and C# 8.0.

Concurrency is now more common in responsive and scalable application development, but it's still extremely difficult to code. The detailed solutions in this cookbook show you how modern tools raise the level of abstraction, making concurrency much easier than before. Complete with ready-to-use code and discussions about how and why solutions work, these recipes help you:

Get up to speed on concurrency and async and parallel programming

Use async and await for asynchronous operations

Enhance your code with asynchronous streams

Explore parallel programming with .NET's Task Parallel Library

Create dataflow pipelines with .NET's TPL Dataflow library

Understand the capabilities that System.Reactive builds on top of LINQ

Utilize threadsafe and immutable collections

Learn how to conduct unit testing with concurrent code

Make the thread pool work for you

Enable clean, cooperative cancellation

Examine scenarios for combining concurrent approaches

Dive into asynchronous-friendly object-oriented programming

Recognize and write adapters for code using older asynchronous styles

Read on Amazon
Read this for free with Kindle Unlimited

Save this book

Create your own learning path. Save this book to your list so you can find it easily later.
Save

Share

Help others find this book page by sharing it with your friends and followers:
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2025 OpenCourser