I have created a new class library(DLL) and when I’m trying to create an object of a class from the DLL in another assembly or library, then it’s not working and I guess there has to be about the namespace or a reference problem, perhaps both becuase there are different namespaces.
Should I be the other library namespace like using namespace in the beginning of the the other library classes to be able to create an object of this class inside the DLL?
I tested to right click on the on of the other librarys and choose Add reference to this new DLL, but this didn’t work. Some help is preciated.
You need to add it to the references and then access it like follows:
That should be all you need.
Then you would acess the methods as follows: