ReSharper
 
Get ReSharper
You are viewing the documentation for an earlier version of ReSharper.

Code Inspection: Redundant using directive

Last modified: 08 March 2021

Extraneous using references are a very common thing. Whenever you create, say, a WinForms window, Visual Studio preemptively adds a large number of using references in your code file. Since ReSharper is able to determine which using references are actually needed and which are redundant, it offers a warning, offering the option to remove the unnecessary references.