fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. string io[] = {"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"};
  8. for(i=0;i<10;i++) console.writeLine(io[i]);
  9. }
  10. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(7,11): error CS1525: Unexpected symbol `[', expecting `,', `;', or `='
prog.cs(7,27): error CS1525: Unexpected symbol `one', expecting `,', `;', or `='
prog.cs(7,34): error CS1525: Unexpected symbol `two', expecting `,', `;', or `='
prog.cs(7,41): error CS1525: Unexpected symbol `three', expecting `,', `;', or `='
prog.cs(7,50): error CS1525: Unexpected symbol `four', expecting `,', `;', or `='
prog.cs(7,58): error CS1525: Unexpected symbol `five', expecting `,', `;', or `='
prog.cs(7,66): error CS1525: Unexpected symbol `six', expecting `,', `;', or `='
prog.cs(7,73): error CS1525: Unexpected symbol `seven', expecting `,', `;', or `='
prog.cs(7,82): error CS1525: Unexpected symbol `eight', expecting `,', `;', or `='
prog.cs(7,91): error CS1525: Unexpected symbol `nine', expecting `,', `;', or `='
Compilation failed: 10 error(s), 0 warnings
stdout
Standard output is empty