flute Posted October 21, 2003 Posted October 21, 2003 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... Quote
*Experts* mutant Posted October 21, 2003 *Experts* Posted October 21, 2003 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.