fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. int[] array = {1,2,3,4,5}
  8.  
  9. foreach(int i in array) {
  10. Console.Write({0}, i);
  11. }
  12. }
  13. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(9,23): error CS1525: Unexpected symbol `foreach', expecting `)', `,', or `;'
prog.cs(13,1): error CS8025: Parsing error
Compilation failed: 2 error(s), 0 warnings
stdout
Standard output is empty