Exemplo n.º 1
0
    static void Main(string[] args)
    {
        ////Program 是类,而obj是对象
        //Program obj = new Program();                       //实例化对象
        //obj.DisplayInfo();

        Test1 obj = new Test1();

        obj.DisplayTestClass();
        Console.WriteLine(obj.intAge);
    }