I’m just curious if unnecessary USINGs in my code slows down compiling of Visual Studio solution. Over time there are new and new usings in my code because of changes in code when some features are added, reimplemented and sometimes removed.
Should I even care about the number of USINGs? How can I remove unnecessary USINGs?
Thanks for answers!
(If this question is supposed to be a community wiki question, please let me know in comments and I’ll change it)
If you are using VS2008/2010: Just right click on the usings and select “Organize Usings” -> “Remove and Sort” from the context menu. Compiling might become a little bit faster but I guess in most situations it is not noticable.