Namespace

flute

Newcomer
Joined
Oct 21, 2003
Messages
1
Hi - I working through an example data layer class in VB.NET - whoever wrote it creates a namespace then creates only one class. I was wondering, why would you create a namespace for only one class? I thought that namespaces were for group a number of classes together and then you would use - imports myclasses etc...
Any comments appreciated...
 
Everything needs to be in a namespace. If you only have one class it needs to be in one too, but the persion simply created a new one instead of putting the class in any other namespace.
 
Back
Top