To reference type in different hierarchical branch we can use the partial qualified name.
using System;
namespace A
{
namespace B
{
class classAB
{
}
}
namespace C
{
class classC : B.classAB
{
}
}
}
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. |