Documents the comment sentence convention.

Adds the sentence rule to the C# conventions and the contributor guide, including its scope, the generated and tool-configuration exclusions, the bare AAA markers, the lowercase TODO bodies and the untouched commented-out code.
This commit is contained in:
BinaryAlley committed 2026-11-16 18:15:07 +02:00
1 parent b8cd34fa90
commit 980e575fa4
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -444,6 +444,7 @@ namespace MyNamespace // Not Allowed
```
#### Formatting:
- Write comments as sentences: capitalize the first word and end with a period. `TODO`, `FIXME`, `HACK`, `XXX` and `NOTE` bodies stay lowercase after the colon, and commented-out code is left exactly as written.
- Use a single space after keywords in control flow statements. For example:
```csharp
if (condition) // Correct