ambiguous class with namespace names in 2 dlls
问题 I've imported 2 dlls to my application (third party) Now both of them have a namespace with same name. For example A.B and in both of them there is a class again with a same name. Now I want to create an instance of one of them, but because the namespace and class names are same, the compiler goes ambiguous. How can I specify witch dll used in the place? 回答1: Let's suppose that you have 2 assemblies ( ClassLibrary1.dll and ClassLibrary2.dll ) that both define the same class in the same