Most developers I know are pretty anal about the formatting of their source code. I used to think I was pretty obsessive compulsive about it, but then I joined Microsoft and faced a whole new level of OCD ( Obsessive Compulsive Disorder ). For example, many require all using statements to be sorted and unused statements to be removed, which was something I never cared much about in the past. There's no shortcut that I know of for removing unused using statements. Simply right click in the editor and select Organize Usings > Remove and Sort in the context menu. In Visual Studio, you can specify how you want code formatted by launching the Options dialog via Tools > Options and then select the Text Editor node. Look under the language you...(read more) ...
Go to the complete details ...