List and HashSet in C#: Ordering, Membership, and Equality
Learn how List and HashSet in C# represent ordering, duplicates, membership, and equality, with complete examples and clear boundaries for application code.
C# language feature deep dives, including Roslyn analyzers, UnsafeAccessor, and techniques for making reflection-heavy code safe under Native AOT.
Showing 7–12 of 127 articles
Learn how List and HashSet in C# represent ordering, duplicates, membership, and equality, with complete examples and clear boundaries for application code.
Understand collections in C# through access, ordering, equality, mutation, and ownership contracts, with practical examples for everyday application code.
Explore production-quality roslyn analyzer examples in C# -- naming conventions, null guard enforcement, and structured log validators you can adapt today.
Understand Roslyn analyzers vs incremental source generators -- how each hooks into the compilation pipeline and when to combine both in one NuGet package.
Master testing Roslyn analyzers using Microsoft.CodeAnalysis.Testing in C#. Learn NuGet setup, diagnostic markers, code fix testing, and CI integration.
Learn when to use IOperation Roslyn vs SyntaxNode vs Symbol APIs. Compare the three analysis layers to pick the right one for your C# analyzer in .NET 10.