Advanced C#: Thread-Safe Data with Concurrent Collections Preview

Advanced C#: Thread-Safe Data with Concurrent Collections

With Walt Ritscher Liked by 241 users
Duration: 1h 39m Skill level: Advanced Released: 5/20/2020

Course details

A "thread-safe" class is one whose members are protected from situations in which one thread interrupts another thread. The standard .NET collection types are not thread safe, which can lead to a slew of problems, including race conditions, data corruption, and unexpected exceptions in modern multithreaded applications. In this course, instructor Walt Ritscher demonstrates how to work with the thread-safe concurrent collections to share data across threads and build more scalable applications. Using practical examples, Walt outlines the problems you can face when working in multithreaded applications and explains why concurrent collections are great at handling multiple threads. He explores how to work with the ConcurrentDictionary class, including how to update data in ConcurrentDictionary. Plus, learn about the producer-consumer pattern and how it relates to concurrent collections types, how to use BlockingCollection—a thread-safe collection class—and more.

Skills you’ll gain

Meet the instructor

Learner reviews

4.7 out of 5

97 ratings
  • 5 star
    Current value: 76 78%
  • 4 star
    Current value: 17 17%
  • 3 star
    Current value: 2 2%
  • 2 star
    Current value: 2 2%
  • 1 star
    Current value: 0 0%

Contents

What’s included

  • Learn on the go Access on tablet and phone

Similar courses

Download courses

Use your iOS or Android LinkedIn Learning app, and watch courses on your mobile device without an internet connection.