Hi,
Let's say assembly 1 has a namespace a.b
Another assembly 2 has a namespace c.a.d
('a' just happens to be the same word, but conceptually the two namespaces are different.)
In assembly 2 (i.e., within the block
namespace c.a.d
{
}
) how do I reference the namespace in assembly 1
Is there a way to tell the compiler that when I say a.b, I want that to be within the global namespace Right now the compiler thinks I'm trying to use (the non-existant) c.a.b.
Thanks!

namespace overlap
StevenR2
global::a.b
mattguest
Hi
you can use a namespace alias
http://msdn2.microsoft.com/en-US/library/sf0df423.aspx
using MyAlias = MyCompany.Proj.Nested;
// Define an alias to represent a namespace.
namespace MyCompany.Proj
{
public class MyClass
{
public static void DoNothing()
{
}
}
}
Hope this helps you out, please close the thread if it does