mirror of
https://github.com/Stone-Red-Code/naming-convention.git
synced 2026-09-04 00:56:16 +02:00
fix #14 remove invalid qualifier static
This commit is contained in:
@@ -64,9 +64,9 @@ string strName;
|
||||
|
||||
```csharp
|
||||
// Correct
|
||||
public static const string ShippingType = "DropShip";
|
||||
public const string ShippingType = "DropShip";
|
||||
// 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.***
|
||||
|
||||
Reference in New Issue
Block a user