7 posts about ConcurrentDictionary by 6 contributors.
Know ConcurrentDictionary? Share what you know with developers who are learning it.
Explore C# caching with concurrency! Learn how to use ConcurrentDictionary, handle cache expiration, and prevent duplicated work using SemaphoreSlim for thread safety.
Explore safer alternatives like ConcurrentDictionary for thread-safe mutable access with fine-grained locking, and ImmutableDictionary for guaranteed thread safety through immutability. Understand the performance trade-offs between speed and safety when choosing the right collection type for concurrent operations.
The LRUCache<TKey, TValue> class in C# provides a custom implementation of a Least Recently Used (LRU) cache. It optimizes memory usage by retaining a fixed number of items and evicting the least recently used ones when the cache exceeds capacity.
Everything is becoming more concurrent, so usually server-based(or multithreaded environments) applications are faced with non-thread-safe problems such as race condition.
This guide illuminates memory caching's efficacy in enhancing data retrieval by storing frequently accessed data in memory. Utilizing ConcurrentDictionary in C#, it illustrates the creation of a sliding expiration cache.
In this article you will learn about concurrent collections and ConcurrentDictionary in detail including how to use it efficiently in software development.
In this article, you will learn about ConcurrentDictionary in C#.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article