fork download
  1. using System;
  2.  
  3. public class Program
  4. {
  5. public static void Main()
  6. {
  7. IEnumerable<int> xs = new int[] { 1, 2, 3, 4, 5 };
  8. Console.WriteLine(xs.Length);
  9. }
  10. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(7,9): error CS0246: The type or namespace name `IEnumerable' could not be found. Are you missing a using directive or an assembly reference?
Compilation failed: 1 error(s), 0 warnings
stdout
Standard output is empty