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

Rule:  6@109Checked automatically with code checker

Synopsis:Avoid multiple or conditional return statements
Severity Level:9
Category:Control flow


One entry, one exit is a sound principle and keeps control flow simple. However, in some cases, such as when preconditions are checked, it may be good practice to exit a method immediately when a certain precondition is not met.