Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fcf9546

Browse files
committed
Update C# Coding Standards and Naming Conventions.md
fix some typos
1 parent 067201b commit fcf9546

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎C# Coding Standards and Naming Conventions.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
| Class name | PascalCase | 128 | No | No | Yes | No | [A-z][0-9] | No |
77
| Constructor name | PascalCase | 128 | No | No | Yes | No | [A-z][0-9] | No |
88
| Method name | PascalCase | 128 | Yes | No | No | No | [A-z][0-9] | No |
9-
| Method arguments | CamelCase | 128 | Yes | No | No | Yes | [A-z][0-9] | No |
10-
| Local variables | CamelCase | 50 | Yes | No | No | Yes | [A-z][0-9] | No |
9+
| Method arguments | camelCase | 128 | Yes | No | No | Yes | [A-z][0-9] | No |
10+
| Local variables | camelCase | 50 | Yes | No | No | Yes | [A-z][0-9] | No |
1111
| Constants name | PascalCase | 50 | No | No | No | No | [A-z][0-9] | No |
12-
| Field name | CamelCase | 50 | Yes | No | No | Yes | [A-z][0-9] | Yes |
12+
| Field name | camelCase | 50 | Yes | No | No | Yes | [A-z][0-9] | Yes |
1313
| Properties name | PascalCase | 50 | Yes | No | No | Yes | [A-z][0-9] | No |
1414
| Delegate name | PascalCase | 128 | No | No | Yes | Yes | [A-z] | No |
1515
| Enum type name | PascalCase | 128 | Yes | No | No | No | [A-z] | No |
@@ -60,7 +60,7 @@ public class ClientActivity
6060

6161
***Why: consistent with the Microsoft's .NET Framework and Visual Studio IDE makes determining types very easy (via tooltips). In general you want to avoid type indicators in any identifier.***
6262

63-
#### 4. Do notuse Screaming Caps for constants or readonly variables
63+
#### 4. Do not use Screaming Caps for constants or readonly variables
6464
```csharp
6565
// Correct
6666
public static const string ShippingType = "DropShip";

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /