interface MyInterface { void MyMethod(); } class MyClass : MyInterface { void MyInterface.Mymethod() { ..........; } static void Main() { ...........; ..........; } }