mirror of
https://github.com/Stone-Red-Code/naming-convention.git
synced 2026-09-04 00:56:16 +02:00
Update C# Coding Standards and Naming Conventions.md
Fixed text for exception in point 8 "Do not use Underscores in identifiers" to include "private fields" instead of "private static variables".
This commit is contained in:
@@ -109,7 +109,7 @@ UIControl uiControl;
|
||||
|
||||
***Why: consistent with the Microsoft's .NET Framework. Caps would grap visually too much attention.***
|
||||
|
||||
#### 8. Do not use Underscores in identifiers. Exception: you can prefix private static variables with an underscore:
|
||||
#### 8. Do not use Underscores in identifiers. Exception: you can prefix private fields with an underscore:
|
||||
|
||||
```csharp
|
||||
// Correct
|
||||
|
||||
Reference in New Issue
Block a user