In Visual Studio 2008, when you add a new Web form to your project, the "using" section of the code-behind contains a lot noise:
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
You may very well need some of those namespace declarations, but odds are high that you don't need them all. But which ones can you remove without breaking your page?
Visual Studio has a nice feature called Organize Usings, which you access by right-clicking anywhere in the code-behind page. The menu looks like this:
When you click on "Remove and Sort", it removes any unused "using"s and sorts those that remain.
So now, instead of the mess that we had before, we have a much cleaner "using" section in our source code file:
Pretty slick, huh?