Does anyone change the Visual Studio default bracing style in C# - Is there a standard?

Posted by El Ronnoco on Stack Overflow See other posts from Stack Overflow or by El Ronnoco
Published on 2011-01-07T09:52:43Z Indexed on 2011/01/07 9:53 UTC
Read the original article Hit count: 304

I find the default bracing style a bit wasteful on line count eg...

function foo()
{
    if (...)
    {
        ...
    }
    else
    {
        ...
    }
}

would, if I was writing in JavaScript for example be written like...

function foo() {
    if (...) {
        ...
    } else {
        ...
    }
}

...which I understand may also not be to peoples' tastes.

But the question(s) is/are do you turn off the VS formatting style and use your own rules? What is the opinion of this in the industry when many people are working on the same code-base? Is it better just to stick to the default just for simplicity/uniformity?

© Stack Overflow or respective owner

Related posts about c#

Related posts about visual-studio