Save for later

Advanced C#

Heads up! This course may be archived and/or unavailable.

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.

Contents:

  • Introduction
  • 1. Defining the Problem
  • 2. Deconstruct the .NET Queue Class
  • 3. Using Thread-Safe Code with Standard Collections
  • 4. Overview of Thread-Safe Collections
  • 5. Work with the ConcurrentDictionary Class
  • 6. Updating Data in ConcurrentDictionary
  • 7. Work with the Producer-Consumer Collections
  • 8. Using the BlockingCollection
  • Continuing Your Journey

Get Details and Enroll Now

OpenCourser is an affiliate partner of LinkedIn Learning and may earn a commission when you buy through our links.

Get a Reminder

Send to:
Rating Not enough ratings
Length 1h 39m
Starts On Demand (Start anytime)
Cost $29/month (Access to entire library- free trial available)
From LinkedIn Learning
Instructor Walt Ritscher
Download Videos Only via the LinkedIn Learning mobile app
Language English
Subjects Programming
Tags Software Development C#

Get a Reminder

Send to:

Similar Courses

Careers

An overview of related careers and their average salaries in the US. Bars indicate income percentile.

A/R Collections $38k

Concurrent Coding Specialist $49k

Utilization Management Concurrent Review 2 $53k

Concurrent Nurse-UM $58k

Adjunct/Concurrent Enrollment Course Instructor $65k

Supervisor Concurrent Nurse-UM $70k

Supervisor Concurrent Review Nurse $73k

Concurrent Intervention Specialist $73k

Collections Specialist/Collections Analyst $76k

Concurrent Review Nurse Manager 1 $77k

Digital Collections Librarian, Special Collections $79k

Senior Concurrent Review Nurse $88k

Write a review

Your opinion matters. Tell us what you think.

Rating Not enough ratings
Length 1h 39m
Starts On Demand (Start anytime)
Cost $29/month (Access to entire library- free trial available)
From LinkedIn Learning
Instructor Walt Ritscher
Download Videos Only via the LinkedIn Learning mobile app
Language English
Subjects Programming
Tags Software Development C#

Similar Courses

Sorted by relevance

Like this course?

Here's what to do next:

  • Save this course for later
  • Get more details from the course provider
  • Enroll in this course
Enroll Now