parent
d175b04fe3
commit
c600df5b0a
@ -62,7 +62,7 @@ If a URL is too long to fit on a single line, make sure it's on a line by itself
|
|||||||
|
|
||||||
### Names
|
### Names
|
||||||
|
|
||||||
Methods & functions are named in `UpperCamelCase`: with an initial capital letter, as is common in other C# code (`DoSomething()`, not `doSomething()`). So are public fields of classes and structs (including properties).
|
Methods & functions are named in `UpperCamelCase`: with an initial capital letter, as is common in most C# code. So are public fields of classes and structs (including properties). This differs from the Google Java style, which would name such things in `lowerCamelCase`.
|
||||||
|
|
||||||
Constants (fields tagged with the `const` keyword) are named in `CONSTANT_CASE`: all uppercase, with an underscore between each word.
|
Constants (fields tagged with the `const` keyword) are named in `CONSTANT_CASE`: all uppercase, with an underscore between each word.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user