I have two classes. How is it possible to link two classes together.
Printable View
I have two classes. How is it possible to link two classes together.
Place these two classes in one or two namespaces(if they're related them one namespace) then compile , get one dll .
It depends what you mean by 'link'?
If he means 'Linking' as in C\C++ , then this doesn't exists in VB.NET nor C# . :rolleyes:
Wat i mean is. On the one hand i have a location class with 2 variables which are id and clearence level. On the other hand i have a door class with id and id2. When a user clicks on a label, then the door class should be accessed, and using the door id, this should equal one from the location class id. From accessing the location class, the database should be accessed and the information recieved.
I know some people may find this way tedious, but this is the way ive been recommended to do it. If there is another method that still uses classes then please feel free to say so.
At the momment as it stands, is there anyone that can help me?