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

Rule:  11@411Checked automatically with code checker

This rule is Obsolete
Synopsis:Do not create overly long source lines
Severity Level:8
Category:Coding style


Long lines are hard to read. Many applications, such as printing and difference views, perform poorly with long lines. A maximum line length of 80 characters has proven workable for C and C++. However, C# tends to be more verbose and have deeper nesting compared to C++, so the limit of 80 characters will often cause a statement to be split over multiple lines, thus making it somewhat harder to read. This standard does not set any explicit limit on the length of a source line, thus leaving the definition of 'too long' to groups or projects.