How do I get the default namespace of a C# project in Visual Studio?
To get the default namespace of a C# project developed using VS.NET, you need to right-click on the project in the Solution Explorer and then choose Properties | Common Properties | General | Default Namespace.
Contributed from George Shepherd's Windows Forms FAQ