The language doesn't define the number of spaces to use for indentation, or where to put an opening curly, or which case to use for naming methods. Turns out we have some great inventions to keep our codebase pretty and consistent. I'll let you take a guess on what those are
Pretty sure reshaper code cleanup can be configured to allow var only on the left of a '= new ...' expression. But every code base I worked on in C# 3+ was vars everywhere.
0
u/lelarentaka Mar 09 '16
The language doesn't define the number of spaces to use for indentation, or where to put an opening curly, or which case to use for naming methods. Turns out we have some great inventions to keep our codebase pretty and consistent. I'll let you take a guess on what those are