Language Basics C# Book

The inner type declaration shadows the outter type.
You can reference the outter type with full qualified name.
using System;
namespace A{
class classA{

}
namespace B{
class classA{

}
class Test{
void aMethod(){
new classA(); // A.B.classA
new A.classA(); // A.classA
}
}
}
}
class Program
{

static void Main(string[] args)
{

}
}