public static void DoSomething(MyInterface i, MyInterfaceImpl c, OtherInterfaceImpl o) { i.GreaterThan(3, 4); c.GreaterThan(6, 2); o.GreaterThan(10, 10); }