fork(1) download
  1. using System;
  2.  
  3. interface I<T> {}
  4.  
  5. class fI:I<float>{}
  6.  
  7. class aI<T>:I<T>{}
  8. class сI:I{}
  9. class bI:I<T>{}
  10.  
  11.  
  12. public class Test
  13. {
  14. public static void Main()
  15. {
  16. // your code goes here
  17. }
  18. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(8,10): error CS0305: Using the generic type `I<T>' requires `1' type argument(s)
prog.cs(3,11): (Location of the symbol related to previous error)
prog.cs(9,12): error CS0246: The type or namespace name `T' could not be found. Are you missing an assembly reference?
Compilation failed: 2 error(s), 0 warnings
stdout
Standard output is empty