Exemplo n.º 1
0
        static void test3()
        {
            object t1 = new Test1();
            //Test2 t2 = t1 as Test2;
            ITest t2 = t1 as ITest;

            t2.Cry();

            Console.ReadKey();
        }