Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a quick way to remove using statements in C#?

Is there a quick way to determine whether you are using certain namespaces in your application. I want to remove all the unneccessary using statements like using System.Reflection and so on, but I need a way to determine if I am using those libraries or not. I know that the tool Resharper does this for you, but is there a quick and dirty and Free way to do this?

like image 892
G Jason Smith Avatar asked Jan 23 '09 16:01

G Jason Smith


1 Answers

Visual Studio 2008 will also do this for you, right click in your class file and select "Organize Usings" -> "Remove and Sort".

like image 142
Quintin Robinson Avatar answered Oct 10 '22 00:10

Quintin Robinson