// Generic interfaces interface Foo { void Hello (S s); } interface Bar : Foo { void Test (T t, U u); } class X { static void Test (Bar bar) { bar.Hello ("Test"); bar.Test (7, "Hello"); } public static void Main () { } }