fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. // your code goes here
  8. }
  9.  
  10. interface Parent {}
  11.  
  12. interface Child : Parent {}
  13.  
  14. interface A
  15. {
  16. T h<T>() where T : Parent;
  17. }
  18.  
  19. interface B : A
  20. {
  21. T h<T>() where T : Child;
  22. }
  23. }
Success #stdin #stdout 0s 131136KB
stdin
Standard input is empty
stdout
Standard output is empty