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)
{
}
}
| w_w_w___.j__av___a__2__s__.__c___o___m__ | Contact Us |
| Copyright 2009 - 12 Demo Source and Support. All rights reserved. |
| All other trademarks are property of their respective owners. |