Tag Archives: code

A single line after if shouldn’t require {braces}

I saw many C# style guidelines (or even enterprise standards) requiring that the code statements within of if (or else, or else if)¬†clause should always require braces ({, }), even when there is a single statement to run. I feel … Continue reading

Posted in .NET, C# | Tagged , , , , | Leave a comment