Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB.Net with classes inside of classes and no namespaces
Message
 
To
28/02/2008 15:39:00
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
Class design
Miscellaneous
Thread ID:
01297553
Message ID:
01297624
Views:
10
>This project I am working on has classes nested inside of a class declaration and in most cases there are no namespaces declared. Needless to say I am strugling just to find stuff and to figure out accessability with the namespaces. Is this a typical way to organize VB.Net work?

I would say that it is not typical but it isn't that bad neither.

If you have classes that are nested, it is probably because it makes full sense that this insider class cannot be used as-is elsewhere.

As for the namespace, I know C# programmers who put the same namespace into all there application which does exactly the same as the default one provided by VB (which is not considered as a best practices).
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform