We can use keyword global
to reference the root namespace.
namespace N
{
class A
{
static void Main()
{
new A.B();
new global::A.B();
}
public class B { }
}
}
namespace A
{
class B { }
}
java2s.com | Contact Us | Privacy Policy |
Copyright 2009 - 12 Demo Source and Support. All rights reserved. |
All other trademarks are property of their respective owners. |