How to: Change the Namespace for an Application
The Root Namespace property sets the base namespace for all files in the project. For example, if you set the root namespace to Project1, and you have a Class1 outside of any namespace in your code, its namespace would be Project1.Class1. If you have a Class2 within a namespace Order in code, its namespace would be Project1.Order.Class2.
It is also possible to clear the Root Namespace property, which allows you to manually specify the namespace structure of your project. For more information, see.
To change the namespace for a project
With a project selected in Solution Explorer, on the Project menu, click Properties.
Click the Application tab.
In the Root namespace field, enter the name.