using System; public class Test { public static void Main() { // your code goes here } interface Parent {} interface Child : Parent {} interface A { T h() where T : Parent; } interface B : A { T h() where T : Child; } }