Esempio n. 1
0
        public static int InterfaceTest2(int value)
        {
            GenericInterfaceTestClass <int> gic = new GenericInterfaceTestClass <int>();
            IInterfaceAA <int> aa = gic;

            return(aa.GetValue(value));
        }
Esempio n. 2
0
        public static int InterfaceTest3(int value)
        {
            GenericInterfaceTestClass <int> gic = new GenericInterfaceTestClass <int>();
            IInterfaceBB <int> bb = gic;

            return(bb.Get(value));
        }
Esempio n. 3
0
        public static int InterfaceTest1(int value)
        {
            GenericInterfaceTestClass <int> gic = new GenericInterfaceTestClass <int>();

            return(gic.GetValue(value));
        }