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

Rule:  11@403Checked automatically with code checker

This rule is Obsolete
Synopsis:The public, protected, and private sections of a class or struct shall be declared in that order
Language:C#
Severity Level:9
Category:Coding style


Description:

Although C# does not have the same concept of accessibility sections as C++, do group them in the given order. However, keep the fields at the top of the class (preferably inside their own #region). The protected internal section goes before the protected section, and the internal section before the private section.