Clean up the Using blog in Visual Studio 2008

When you create a new class, its normally filled with using statements in the top. Usually you only use one or two of these statements.

Visual Studio 2008 has a great feature for cleaning up the code:
  1. Right click somewhere in the editor
  2. Select “Organise Usings”
  3. Select “Remove and Sort”
This removes unused Usings and stort them. You can also choose to only remove unused usings or to sort the using statements.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.