namespace scope

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)
    {
      
    }
}
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.