---
description: C# / .NET coding standards (AgentX)
globs: **/*.cs,**/*.csx
alwaysApply: false
---

# C# / .NET (AgentX)

Canonical: `.github/instructions/csharp.instructions.md` and
`.github/skills/languages/csharp/SKILL.md` -- read for full standards.

- Nullable reference types enabled; async/await end to end (no `.Result`).
- Dependency injection; EF Core with parameterized queries only.
- XML docs on public APIs; xUnit tests; catch specific exceptions.
- Secrets via configuration/Key Vault, never hardcoded.
