Let\'s say we have a class called MyClass.
public class MyClass
We also have an interface like so:
public interface MyInterface
This is a job for macros in Visual Studio. Here is an example that does a similar thing for abstract classes. It should be enough to get you going.