fork download
  1. using System;
  2.  
  3. namespace SampleNamespace
  4. {
  5. public class SampleClass
  6. {
  7. public static void Main()
  8. {
  9. bool c = true;
  10. int a;
  11. int i;
  12. int[] iArray = new [10];
  13. Console.WriteLine("{0}",iArray);
  14. for (i=0; i<10; i++)
  15. {
  16.  
  17. /*if (i/3:=c);
  18.   Console.WriteLine("Число яке ділиться на 3 це {0}", i);
  19.   if (i/5:=c);
  20.   Console.WriteLine("Число яке ділиться на 5 це {0}", i);
  21.   if (i/7:=c);
  22.   Console.WriteLine("Число яке ділиться на 7 це {0}", i);*/
  23. }
  24. } // End of Main function (program statup)
  25. } // End of SampleClass
  26. } // End of SampleNamespace
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(12,32): error CS1525: Unexpected symbol `[', expecting `[', `{', or `type'
Compilation failed: 1 error(s), 0 warnings
stdout
Standard output is empty