Question Prevent a new class from getting the folder name in the Namespace

Neal

Forum Admin
Staff member
Joined
Apr 15, 2011
Messages
130
Location
VA
Programming Experience
10+
When I create a new class in C# it's appending the folder name to the Namespace. For example my project's namespace is Foo. I have a folder named Blah. If I add a new class (file) to the Blah folder the namespace is created as Foo.Blah.

How can I turn this off so only my project namespace is used for new files?

Thx
 
Top Bottom