Hello world!!
Tuesday, November 9, 2010
Nested class
namespace NestedClass
{
class Program
{
static void Main(string[] args)
{
A a = new A();
A.AA aa = new A.AA();
}
}
public class A
{
public class AA
{
public int i = 10;
A x = new A();
A.AA xx = new AA();
}
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment