TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
C# Coding Standard
Search

Category: Coding style

Synopsis:Coding style


Description:

Coding Rules

NameCheckedSynopsis
11@101 Do not mix coding styles within a group of closely related classes or within a module
11@403 Checked automatically with code checker The public, protected, and private sections of a class or struct shall be declared in that order
11@407 Checked automatically with code checker Write unary, increment, decrement, function call, subscript, and access operators together with their operands; insert spaces around all other operators
11@408 Checked automatically with code checker Always write the left parentheses directly after a method/function name
11@409 Checked automatically with code checker Use spaces instead of tabs
11@411 Checked automatically with code checker Do not create overly long source lines
11@412 Checked automatically with code checker Put case labels on a separate line
11@413 Do use spaces before and after binary operators for readability