Skip to Content
C# Concurrency
book

C# Concurrency

by Nir Dobovizki
February 2025
Intermediate to advanced
248 pages
6h 36m
English
Manning Publications

Overview

Supercharge your applications with the ultimate guide to asynchronous and multithreaded programming in C#!

C# Concurrency teaches you how to write effective multithreaded and asynchronous software in C#. Practical techniques, real-world examples, and useful code samples cut through the confusion around async/await and help you write rapid, reliable, and bug-free code.

In C# Concurrency: Asynchronous and Multithreaded Programming you’ll learn how to:

  • Take full advantage of async/await
  • Write bug-free multithreaded code every time
  • Create multithreaded code that delivers real performance improvements
  • Grok C# and .NET multithreading and asynchronous primitives
  • Know when to use concurrency techniques—and when not to use them!

In C# Concurrency Nir Dobovizki, a seasoned C# veteran with over 30 years of high-performance programming experience, shares his deep knowledge and expert techniques. Say goodbye to frustrating pitfalls and impossible-to-find bugs that slow down your applications. Nir's careful approach will teach you how to navigate these challenges with ease, allowing you to achieve lightning-fast performance like never before!

About the Technology
Asynchronous and multithreaded programs can perform multiple tasks simultaneously without losing speed or reliability. But getting concurrency right can challenge even experienced developers. This practical book teaches you to deliver concurrent C# apps that are lighting fast and free of the deadlocks and other synchronization issues that undermine performance and take forever to find.

About the Book
C# Concurrency equips programmers with a comprehensive understanding of multithreading and asynchronous programming, focusing on the practical use of the C# async-await feature to simplify asynchronous tasks. It teaches how to avoid common pitfalls, addresses classic multithreading issues like deadlocks and race conditions, and advanced topics such as controlling thread of execution and using thread-safe collections.

What's Inside
  • .NET multithreading and asynchronous primitives
  • When to use concurrency techniques—and when not to!
  • Confidently use async/await


About the Reader
For experienced C# programmers. No knowledge of asynchro- nous programming required.

About the Author
Nir Dobovizki is a senior software architect and consultant who has worked on concurrent and asynchronous systems since the late 90s.

Quotes
Gives you knowledge you can use immediately, without wading into unnecessary complexity. Invaluable.
- Oren Eini, RavenDB

A clear discussion of how to use C# features to harness the power of multi-core CPUs.
- Robert Robey, AMD

A great starting point for concurrency, threading and asynchronicity.
- Jiří Činčura, Microsoft

Gives you the confidence to tame concurrency and asynchronous programming.
- Milorad Imbra, FEVO

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Concurrency in C# Cookbook, 2nd Edition

Concurrency in C# Cookbook, 2nd Edition

Stephen Cleary
C# 12 in a Nutshell

C# 12 in a Nutshell

Joseph Albahari

Publisher Resources

ISBN: 9781633438651Publisher SupportPublisher WebsiteErrata Page