Spring clean your usings


If you have worked on software that has been extended, upgraded and re-factored over time – then you will be aware that using statements accumulate at the top of C# files.  Some of these will be for namespaces and types that are no longer used in the code below.

An addition to the Visual Studio 2008 IDE is the ability to clean up and organise these using statements.

Just right-click to get the context menu in your code files and you will see the new menu option “Organize Usings”.  With this you can remove usings that are no longer in use, or sort the usings for a more aesthetic list.  Or why not go for a full clean up and do both!

Advertisements

A cup of coffee


Software is a wonderful innovation.  There are many languages and frameworks out there that allow developers to express themselves in a simple and elegant way.

This blog will focus on some of these languages and frameworks and bring to light interesting, complex or just good to know features and capabilities.  Articles will range from simple and accessible for beginners up to whatever can be imagined.

Welcome!  I hope you enjoy the ride.