csharp-standards
Use when writing, editing, or reviewing any C# (.cs) code: C# 14 idioms, naming, the mandatory file layout (interface members, then Private methods / Public static methods / Logging regions), primary constructors, collection expressions, var, sealed, TimeProvider, LoggerMessage logging, nullability, credentials and security, and Minimal APIs + FluentValidation.
Pinned to revision 38b55a19912a, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.