VB.NET-NAMESPACE

VB.NET-NAMESPACE

cturlington
Collaborator Collaborator
503 Views
1 Reply
Message 1 of 2

VB.NET-NAMESPACE

cturlington
Collaborator
Collaborator

Hello,

 

I am using Civil 3D 2016.

 

I am in the early stages of learning VB.NET and ACAD API.

 

I have noticed that some apps begin with a custom namespace such as Namespace Lab2 and sometimes not.  I believe begininging with a custom namespace followed by a public class, will make the app available by importing that namespace and class; as Imports myNamespace.myClass. 

 

Is my understanding correct and is there more to it than what I am conveying?

0 Likes
Accepted solutions (1)
504 Views
1 Reply
Reply (1)
Message 2 of 2

augusto.goncalves
Alumni
Alumni
Accepted solution
You should always use a namespace with a name that makes sense to your app

If you don't add a namespace name, Visual Studio will assume the default one (which is not a good idea)
Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
0 Likes