- C# Digest
- Posts
- Anatomy of the .NET dictionary
Anatomy of the .NET dictionary
Impress friends and colleagues knowing your key value pairs
Anatomy of the .NET dictionary
25 minutes by Steve Dunn
The internals of the .NET Dictionary class are a common interview topic, so the information in this post might come in handy one day. You could also use this new-found knowledge to impress friends and colleagues at every opportunity.
Live! 360 Orlando: Your Custom 6-in-1 Tech Conference for Developers, Data Pros, and IT Leaders
sponsored by Converge 360 Events
Elevate your tech skills at Live! 360. Choose from 200+ sessions across AI, cloud, data, cybersecurity, Visual Studio, & more. Tailor your learning journey to your specific needs as a developer, data scientist, IT pro, or manager. Gain practical expertise from industry experts, participate in hands-on labs, and network with peers. Stay ahead of the curve in today's rapidly evolving tech landscape. Use code CSHARP for $900 off standard pricing!
A Dictionary of Lists in C#
15 minutes by Fil
The author discusses the implementation of a more efficient and user-friendly "dictionary of lists" data structure in C#. They present three iterations of the design, addressing issues like automatic management of empty lists, memory leaks, and maintaining correct semantics. The final version uses weak references to handle empty lists efficiently.
Akka.NET Actors' Hidden Super Power: Behavior Switching
7 minutes by Aaron Stannard
The article discusses the power of behavior-switching in Akka.NET actors using the Become method. It explains how this feature can simplify complex stateful programming, particularly for finite state machines and long-running workflows. The author provides a detailed example of a package scanning system, demonstrating how behavior-switching can atomize complexity and make it transparent to callers.
Evolving Existing Code through TDD: A Password Case Study
10 minutes by Yoan Thirion
This article discusses Test-Driven Development (TDD) applied to a password validation exercise. Yoan demonstrates how to evolve a password validation implementation using TDD principles, moving from a single-error approach to handling multiple errors.
A Tyrant Guide to Code Quality Gates
10 minutes by Oleksii Nikiforov
This article discusses how to enforce code quality gates in .NET projects to maintain high code quality standards. It covers various aspects of code quality, including formatting, spelling, coding style, and analysis tools. The article demonstrates the implementation of quality gates using tools like .NET compiler platform analyzers, SonarAnalyzer, CSharpier, cspell, Husky.Net, GitHub Actions, and SonarCloud.
how did you like this issue? |