public static void Main(string[] args) { InterfaceTest it = new InterfaceTest(); it.IMethod(); IMyInterface imc = it; imc.IMethod(); }