fork(1) download
  1. using System;
  2. using System.Linq;
  3. using System.Collections.Generic;
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. Console.WriteLine(Create());
  9. }
  10. public static IEnumerable<T> Create<T>()
  11. {
  12. return Enumerable.Empty<T>();
  13. }
  14. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
1
2
10
42
11
compilation info
prog.cs(8,35): error CS0305: Using the generic method `Test.Create<T>()' requires `1' type argument(s)
prog.cs(10,34): (Location of the symbol related to previous error)
Compilation failed: 1 error(s), 0 warnings
stdout
Standard output is empty