Folder strucutre and default namespace - how to prevent wrong namespace?

Folder strucutre and default namespace - how to prevent wrong namespace?

Post by Susanne Kl » Fri, 07 Nov 2008 22:37:20


Hi NG,

My classes have the following namespace scheme:

Company.Product.Technology

The source files lie in the correcponding folder structure:

Company/Product/Technology

My C# project file lies above this folder structure. I am not quiet sure
which "Default namespace" I shall use in this case. All new classes get
the namespace DefaultNamespace.Company.Product.Technology

I can not clear the Default namespce. Neither I want to disclaim my
folder structure.

How is the correct procedure for folder structure und default namepsace?

Thanks in advantage!

Susanne Klemm