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

Rule:  3@504Checked automatically with code checker

Synopsis:Name the source file to the main class
Language:C#
Severity Level:7
Category:Naming


Description:

An exception for this rule holds for partial classes. If a partial class is used, then the other files for this class can be named as MainClass.PostFix.cs, whereby Postfix is a meaningful name which describes the contents and not just MainClass.2.cs.

Example: MyForm.cs and MyForm.Designer.cs.