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

Rule:  11@408Checked automatically with code checker

This rule is Obsolete
Synopsis:Always write the left parentheses directly after a method/function name
Language:C#
Severity Level:9
Category:Coding style


Description:

This gives a uniform appearance to the code.
(Both for declaration, as in the first example, as for calling, as in the second example.)

public bool HasImages();   // Correct !
public bool HasImages ();   // Incorrect !
bool studyHasImages = savedStudy.HasImages();   // Correct !
bool studyHasImages = savedStudy.HasImages ();   // Incorrect !