Sort usings

This refactoring applies to:

  • C#

  • Visual Basic

What: Sort usings.

When: You want to sort using directives at the top of your file so that they are in alphabetical order.

Why: It makes it easier to find a using directive.


  1. Select Edit from the menu bar.

  2. Select Intellisense > Sort Usings.

    Sort usings

See also