类嵌套
class point{
public int z=10;
public int a=20;
class test
{
public int aa=50;
public int ddd=90;
}
}
class lineapp
{
public static void Main()
{
test one=new test();
System.Console.WriteLine("{0}",bbb.aa);
//System.Console.WriteLine("{0}",aaa.a);
//System.Console.WriteLine("{0}",aaa.test.aa);
//System.Console.WriteLine("{0}",aaa.test.ddd);
}
}
如果我要访问test类下的aa字段。。该如何访问呢?》???