Software EngineeringOpen accessPublished 2 Oct 2026
Modern C# idioms for any .NET project (C# 10+, .NET 6+): nullable reference types, records, readonly structs, primary constructors, pattern matching, async/await with CancellationToken, IDisposable/IAsyncDisposable, file-scoped namespaces, var usage, naming conventions (PascalCase members, _camelCase fields, I-prefixed interfaces), and class design rules. Apply whenever the project is a .NET 6+ project. Stack-agnostic — referenced by every .NET plugin in the marketplace.
Use this skill to:
- Write self-documenting immutable value types with records and readonly structs.
- Handle nullable reference types explicitly to eliminate NullReferenceException at compile time.
- Im…