Esempio n. 1
0
        public static void Main()
        {
            TestInterface ti1 = new TestClass1();
            ti1.TestMethod();

            TestInterface ti2 = new TestClass2();
            ti2.TestMethod();

            OutputInterface(ti1);
            OutputInterface(ti2);
        }