Prefer no parenthesis on object initializers

Viewed 141

Is there a way to prefer/enforce style when using object initializer to not use parenthesis using editorconfig?

// prefer
new Foo
{

};

// instead of
new Foo()
{

};
0 Answers
Related