In this article
Coding Standards/Csharp/Csharp
| Field | Value |
|---|---|
| Kind | instruction |
| Source | .github/instructions/coding-standards/csharp/csharp.instructions.md |
| Invocation | Applied automatically to **/*.cs |
| Interactive | No |
What it does
C# (CSharp) code authoring conventions
When to use it
Apply these conventions to C# production and test files when choosing project layout, nullable contracts, naming, member order, documentation, and modern C# syntax. Test files also use the C# test instructions for framework, fixture, and mocking conventions.
Example usage
Provide a concrete example that shows the asset in action, including representative input and the resulting output.