mirror of
https://github.com/Stone-Red-Code/naming-convention.git
synced 2026-09-08 07:56:10 +02:00
Further clarified use of abbreviations in 7.
This commit is contained in:
@@ -99,12 +99,12 @@ UriPart uriPart;
|
|||||||
|
|
||||||
***Why: consistent with the Microsoft's .NET Framework and prevents inconsistent abbreviations.***
|
***Why: consistent with the Microsoft's .NET Framework and prevents inconsistent abbreviations.***
|
||||||
|
|
||||||
#### 7. Do use PascalCasing for abbreviations 3 characters or more (2 chars are both uppercase):
|
#### 7. Do use PascalCasing or camelCasing (Depending on the identifier type) for abbreviations 3 characters or more (2 chars are both uppercase when PascalCasing is appropriate or inside the identifier).:
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
HtmlHelper htmlHelper;
|
HtmlHelper htmlHelper;
|
||||||
FtpTransfer ftpTransfer;
|
FtpTransfer ftpTransfer, fastFtpTransfer;
|
||||||
UIControl uiControl;
|
UIControl uiControl, nextUIControl;
|
||||||
```
|
```
|
||||||
|
|
||||||
***Why: consistent with the Microsoft's .NET Framework. Caps would grap visually too much attention.***
|
***Why: consistent with the Microsoft's .NET Framework. Caps would grap visually too much attention.***
|
||||||
|
|||||||
Reference in New Issue
Block a user