Quantcast
Channel: 2,000 Things You Should Know About C# » Visual Studio
Viewing all articles
Browse latest Browse all 21

#1,213 – Visual Studio 2014 – Unused using Statements Greyed Out

$
0
0

In Visual Studio 2014, the editor will grey out any using statements that are not required.  This is done at build time.  Note that you can still use the Remove Unused Usings command to remove any unused statements.  (This command has been renamed Remove Unnecessary Usings).

Below, all but the first using statement is greyed out, since the code that follows makes no use of types from any of the other namespaces.

1213-001

 


Filed under: Visual Studio Tagged: C#, Visual Studio, Visual Studio 14

Viewing all articles
Browse latest Browse all 21

Trending Articles