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)
  • I prefix for interfaces (e.g., IDisposable)
  • Async methods MUST have the Async suffix (e.g., SaveAsync)
  • Constants MUST use PascalCase, not SCREAMING_SNAKE_CASE
  • Use var when the type is apparent from the right side of the assignment
version
1.0.0
tags
csharp, language, naming
author
Mike Fullerton
modified
2026-03-27

Change History

Version Date Author Summary
1.0.0 2026-03-27 Mike Fullerton Initial creation