fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. foreach (var arg in args)
  7. {
  8. Console.WriteLine(arg);
  9. // your code goes here
  10. }
  11. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(6,1): error CS1525: Unexpected symbol `foreach', expecting `;', `{', `=>', or `where'
Compilation failed: 1 error(s), 0 warnings
stdout
Standard output is empty