fork(1) download
  1. using System;
  2.  
  3. class Foo<Bar>
  4. { }
  5.  
  6. class Foo<Baz>
  7. { }
  8.  
  9. public class Test
  10. {
  11. public static void Main()
  12. {
  13.  
  14. }
  15. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(6,7): error CS0101: The namespace `global::' already contains a definition for `Foo<Baz>'
prog.cs(3,7): (Location of the symbol related to previous error)
Compilation failed: 1 error(s), 0 warnings
stdout
Standard output is empty