Types defined in the outter namespace is visible within the inner namespace.using System;namespace A{ class ClassA { } namespace B { class classB : ClassA { } }}class Program{ static void Main(string[] args) { }}