Click here to Skip to main content
15,867,568 members
Articles / Programming Languages / C#
Tip/Trick

Remove unused "using"

Rate me:
Please Sign up or sign in to vote.
4.76/5 (22 votes)
10 Feb 2010CPOL 37K   7   10
How to remove unused "using"
To removed unused "using" statements, just right-click one of the using statements in your source code and click "Organize Usings" | "Remove Unused Usings".

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer Kovair Inc.
India India
I have started programming in 10 years on Fortran 77.Then it was Cobol,C,C++,JAVA 1.2, ASP,JavaScript. Now it at all C# and .NET Framework, such tehnologies as WCF, ADO.NET, ASP.NET, LINQ, ASP.NET Ajax , FLEX and another.

Comments and Discussions

 
QuestionIn what Visual Studio Pin
jeversesteban22-Apr-14 20:27
jeversesteban22-Apr-14 20:27 
General5! Pin
Pavel Durov7-Jan-14 3:26
professionalPavel Durov7-Jan-14 3:26 
QuestionWill unused references affect the compiling and executing efficiency? Pin
leiyangge26-Jun-13 20:31
leiyangge26-Jun-13 20:31 
AnswerRe: Will unused references affect the compiling and executing efficiency? Pin
Cosmic_Spy24-Nov-13 1:08
Cosmic_Spy24-Nov-13 1:08 
GeneralMy vote of 5 Pin
leiyangge26-Jun-13 19:55
leiyangge26-Jun-13 19:55 
GeneralReason for my vote of 5 Very useful. Pin
walterhevedeich21-Sep-11 20:20
professionalwalterhevedeich21-Sep-11 20:20 
GeneralReason for my vote of 5 Thanks! I learned something useful t... Pin
Dr.Walt Fair, PE22-Aug-11 6:06
professionalDr.Walt Fair, PE22-Aug-11 6:06 
QuestionThank you all Pin
Juy Juka27-Oct-11 21:47
Juy Juka27-Oct-11 21:47 
GeneralMy vote of 5 Pin
Prosanta Kundu online11-Feb-10 16:56
Prosanta Kundu online11-Feb-10 16:56 
GeneralRe: My vote of 5 Pin
Palash Biswas11-Feb-10 17:03
Palash Biswas11-Feb-10 17:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.