C# Concurrent Collections

Learn how to use concurrent collections in multithreaded code! This course will teach you the correct use of ConcurrentDictionary, as well as introducing you to producer-consumer scenarios and the blocking collection.
Course info
Rating
(584)
Level
Advanced
Updated
May 15, 2015
Duration
3h 31m
Table of contents
Introducing the Concurrent Collections
Introducing ConcurrentDictionary
Concurrent Dictionary Demo
The Producer-Consumer Collections: Queues, Stacks and Bags
Producer-consumer and BlockingCollection Demo
Some Concurrent Collections Best Practices
Description
Course info
Rating
(584)
Level
Advanced
Updated
May 15, 2015
Duration
3h 31m
Description

Learn how to use concurrent collections in multithreaded code! This course is a comprehensive introduction to the concurrent collections. It shows you how to use each of the main collection types: ConcurrentDictionary, ConcurrentQueue, ConcurrentBag, and ConcurrentStack. You'll learn the correct techniques for using these collections to avoid bugs such as race conditions, and also how to use BlockingCollection with the concurrent collections correctly in producer-consumer scenarios. The course rounds off with a look at some concurrent collection best practices.

About the author
About the author

Simon is a senior developer with over 20 years programming experience, particularly covering C++ and the .NET Framework. He believes knowledge is to be shared and has written or co-written more than a dozen books for professional programmers.

More from the author
C# Concurrent Collections
Advanced
2h 42m
Jul 31, 2020
Advanced C# Collections
Intermediate
3h 46m
Jan 9, 2020
Beginning C# Collections
Beginner
3h 25m
Mar 29, 2019
More courses by Simon Robinson