Naming
Local variables
- Variable names should use
camelCase. - Don't use contractions.
- Variable names shouldn't include the data type of the variable.
Whitespace
Generally speaking, to improve readability, you introduce a blank line between two, three, or four lines of code that do similar or related things.
Curly brackets
The { and } symbols create code blocks. Many C# constructs require code blocks. These symbols should be placed on a separate line so that their boundaries are clearly visible and readable.