Visual Studio 2012中使用如下步骤
- Main Menu - On the Edit menu, point to IntelliSense, point to Organize Usings, and then click Remove Unused Usings.
- Context Menu - Right-click anywhere inside the code editor, point to Organize Usings, and then click Remove Unused Usings.
Visual Studio 2013中的步骤与Visual Studio 2012中完全相同
- Main Menu - On the Edit menu, point to IntelliSense, point to Organize Usings, and then click Remove Unused Usings.
- Context Menu - Right-click anywhere inside the code editor, point to Organize Usings, and then click Remove Unused Usings.