C# Coding Standards
Description
Defines the C# coding standards, patterns, and conventions to be applied consistently across all C# projects. Rules cover naming, structure, async patterns, null handling, dependency injection, logging, result patterns, and formatting. Apply these rules uniformly in all production code.
1. File & Namespace Structure
1.1 File-Scoped Namespaces
Always use file-scoped namespaces:
// ✅ Correct
namespace MyApp.Core.Validators;
inte
[Description truncada. Veja o README completo no GitHub.]