Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This refactoring applies to:
- C#
What: Move type to namespace.
When: You want to move a type to a different namespace or folder.
Why: You want to refactor parts of your solution and have a quick way to move a type to a different namespace or folder.
How-to
Place your cursor in the class name.
Press Ctrl+. to trigger the Quick Actions and Refactorings menu.
Select Move to namespace.
In the dialog box that opens, select the target namespace you'd like to move the type to.