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

Rule:  5@102

Synopsis:If possible, initialize variables at the point of declaration
Language:C#
Severity Level:7
Category:Object lifecycle


Description:

Avoid the C style where all variables have to be defined at the beginning of a block, but rather define and initialize each variable at the point where it is needed.