{"enrichment":{"faq":[{"a":"Modern C# for .NET helps you write idiomatic C# code that aligns with your repository's target framework and language-version constraints. It guides feature selection across C# versions, handles compatibility decisions, and validates that new syntax is actually supported by your project's configuration.","q":"What is modern-csharp and how does it help with .NET projects?"},{"a":"Modern C# for .NET evaluates feature compatibility by checking your project's target framework and language-version settings. It determines which C# language features are safe for your current project, accounting for both the .NET runtime version and explicit LangVersion configuration, so you know exactly what syntax you can safely adopt.","q":"Is this C# feature supported in my .NET version?"},{"a":"Modern C# for .NET guides you through upgrading your C# language version while respecting your repository's constraints. It helps configure language version and validate feature compatibility, ensuring that modernized code aligns with your project's target framework and won't cause runtime or compilation issues.","q":"How do I upgrade C# language version in my project?"},{"a":"Modern C# for .NET maps available features to your specific .NET version. It reviews which C# language features\u2014including C# 13 and C# 14 capabilities\u2014are compatible with .NET 9, helping you make informed decisions about which modern syntax and patterns you can safely adopt in your codebase.","q":"What C# features can I use on .NET 9?"},{"a":"Modern C# for .NET reviews and refactors your codebase for idiomatic C# patterns while respecting your project's language-version constraints. It identifies opportunities to upgrade C# code to newer standards and C# idioms and best practices for .NET, ensuring modernization stays compatible with your target framework.","q":"How can I refactor legacy C# code to modern standards?"},{"a":"Modern C# for .NET clarifies C# 13 and C# 14 feature compatibility by checking your project's LangVersion and target framework settings. It helps you select the right features for your repository, ensuring that any syntax you adopt is actually supported by your .NET version and project configuration.","q":"What's the difference between C# 13 and C# 14 feature compatibility?"}],"shadow_tags":["language-versioning","dotnet-compatibility","csharp-modernization","framework-targeting","syntax-upgrade","feature-compatibility","code-refactoring","version-aware-coding"],"summary_rewrite":"Modern C# for .NET helps you write idiomatic C# code that aligns with your repository's target framework and language-version constraints. It guides feature selection across C# versions, handles compatibility decisions, and validates that new syntax is actually supported by your project's configuration."},"files":[{"bytes":5996,"path":"catalog/Tools/Modern-CSharp/skills/modern-csharp/SKILL.md","sha256":"eb3821f56eb0e97e5b330720fb2f99f1247531b48f3f4aa2b3f6fa5b6d4fcb7f","url":"https://skillfed.io/files/managedcode/dotnet-skills/modern-csharp/c125be8e/SKILL.md"}],"id":"managedcode/dotnet-skills/modern-csharp","links":{"html":"https://skillfed.io/managedcode/dotnet-skills/modern-csharp","md":"https://skillfed.io/managedcode/dotnet-skills/modern-csharp.md","repo":"https://github.com/managedcode/dotnet-skills"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":35,"language":"C#","last_updated":"2026-07-25","license":"MIT","name":"modern-csharp","publisher":"managedcode","stars":463},"relations":{"similar":[{"id":"managedcode/dotnet-skills/fsharp"},{"id":"managedcode/dotnet-skills/dotnet"},{"id":"managedcode/dotnet-skills/csharpier"},{"id":"managedcode/dotnet-skills/format"},{"id":"managedcode/dotnet-skills/coverlet"},{"id":"managedcode/dotnet-skills/reportgenerator"},{"id":"managedcode/dotnet-skills/stryker"},{"id":"managedcode/dotnet-skills/roslynator"},{"id":"managedcode/dotnet-skills/archunitnet"},{"id":"managedcode/dotnet-skills/netarchtest"}]},"slug":{"owner":"managedcode","repo":"dotnet-skills","skill":"modern-csharp"},"version":"c125be8e"}
