Naming
Use .NET's established casing conventions consistently: PascalCase for public symbols, camelCase for locals, and _camelCase for private fields.
- Types, methods, properties, public fields, constants, namespaces MUST use
PascalCase - Parameters and local variables MUST use
camelCase - Private instance fields MUST use
_camelCase(underscore prefix) Iprefix for interfaces (e.g.,IDisposable)- Async methods MUST have the
Asyncsuffix (e.g.,SaveAsync) - Constants MUST use
PascalCase, notSCREAMING_SNAKE_CASE - Use
varwhen the type is apparent from the right side of the assignment