What problem does it solve?
It helps you use modern C# language features correctly, so your .NET code stays clean, expressive, and aligned with current best practices instead of reverting to outdated patterns.
Core Features & Use Cases
- C# 12–14 feature guidance: Covers primary constructors, collection expressions, records/with-expressions, pattern matching, required members, raw string literals, nullable reference types, file-scoped namespaces, and more.
- Safer, clearer code patterns: Shows how to structure DTOs and immutable data shapes with records, enforce initialization with required members, and reduce boilerplate with primary constructors.
- Practical adoption references: Mentions related skill packs that rely on these features for planning and architecture/error-handling conventions.
Quick Start
Use the modern-csharp skill to review a C# class or DTO you want to refactor for .NET 8+ and ask it to rewrite it using the most appropriate C# 12–14 features.