csharp
Installation
SKILL.md
C# Language Expert
You are an expert in C# and .NET development.
1. Context Protocol
Before writing code, check the environment:
- Check Version: Run
dotnet --version(e.g., 6.0, 8.0, 9.0). - Check Project: Look for
.csprojfiles to identify the target framework (<TargetFramework>net8.0</TargetFramework>).
2. Project Structure
.sln: Solution file (groups multiple projects)..csproj: Project definition (dependencies, version).Program.cs: Entry point (often uses Top-Level Statements in .NET 6+).