If you have two classes of the same name in different namespaces:
MyCompany.Project1.MyClass
MyCompany.Project2.MyClass
And both libraries are used in some code:
using MyCompany.Project1;
using MyCompany.Project2;
...
MyClass objInstance = new MyClass();
...
You will get an ambiguity error (i.e. the compiler doesn't know which to use).
You need to explicitly identify the class type by a fully qualified name:
MyCompany.Project2.MyClass objInstance = new MyCompany.Project2.MyClass();
-
Peter