Thursday, May 15, 2008

Organize "using" statements (Visual Studio) (Tip)


This is very helpful feature of Visual studio 2008. Normaly, we tend to forget to remove unused "using" statements or if there too many, it's difficult to find out which one to remove. So, we rather keep them untouched.
Now, Visual Stuiod 2008 helps you organizing those. Just right click on the code and select "Organize Usings" menu. It gives you these thress choices:
Remove Unused Usings
Sort Usings
Remove and Sort
Happy coding!

No comments: