Why is the class from the dll is declared only if before it to write the namespace?
I did DLLs ku. Using add reference, I added it as a project.
Hooked up the namespace using using. But to declare a class we need to write Namespace.ClassName = new Namespace.ClassName. It is very inconvenient.
If you have the position of the class about Namespace.Namespace.Class, you need to write
You can still use using Classname = Namespace.ClassName.
But generally it's bad practice. Here's a link for further study.
rozella92 answered on October 3rd 19 at 01:30
List 1 using where will <the name of the dll>.<namespace>
Eddie_Schinn answered on October 3rd 19 at 01:32
The link I found a solution. Prescribed a using statement inside a namespace in the main project. Thank you very much.