Exemplo n.º 1
0
        public static void Main(string[] args)
        {
            InterfaceTest it = new InterfaceTest();
             it.IMethod();

             IMyInterface imc = it;
             imc.IMethod();
        }