mirror of
https://github.com/Stone-Red-Code/naming-convention.git
synced 2026-09-04 09:06:19 +02:00
Merge pull request #15 from snwflake/master
fix #14 remove invalid qualifier static
This commit is contained in:
@@ -64,9 +64,9 @@ string strName;
|
|||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
// Correct
|
// Correct
|
||||||
public static const string ShippingType = "DropShip";
|
public const string ShippingType = "DropShip";
|
||||||
// Avoid
|
// Avoid
|
||||||
public static const string SHIPPINGTYPE = "DropShip";
|
public const string SHIPPINGTYPE = "DropShip";
|
||||||
```
|
```
|
||||||
|
|
||||||
***Why: consistent with the Microsoft's .NET Framework. Caps grap too much attention.***
|
***Why: consistent with the Microsoft's .NET Framework. Caps grap too much attention.***
|
||||||
|
|||||||
Reference in New Issue
Block a user