Move type to namespace
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.
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for