This will accumulate as your codes grow up and unknowingly, it is slowing you down.
The Benefits of Removing Unused Directives:
- Faster compile time.
- Faster down static analysis.
- Less options in the Intellisense popup (particularly if the namespaces contain lots of Extension methods).
- Lesser size of assemblies when compiled.
- Faster execution of program.
- Right Click on the IDE.
- Click on the Organize Usings (see Figure 1.).
- Click on the Remove Unused Usings.
Figure 1: Use this option to remove Unused Usings.
Thank you for your time. Share it with your friends!