static void Main(string[] args) { IMyInterface MyInterface; MyClass myClassObject = new MyClass(); MyInterface = myClassObject; MyInterface.SomeMethod(); MyInterface.AnotherMethod("hello"); }