Microsoft C# Coding Style Guidelines & Visual Studio
These days most software developers need deal with more than one software development technology and programming language on a day to day basis. This often means that they have to switch back and forth between coding styles, with this in mind I noticed that although the MS coding guidelines for C# in .NET recommend K&R style braces for code blocks, e.g:
if (sneeze) {
nose.Blow();
}
By default Visual Studio’s auto code formatting stuff will format your code with braces on newlines, e.g.:
if (sneeze)
{
nose.Blow();
}
Very interesting indeed, I wonder are there internal coding style conflicts within Microsoft…