fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. static const int fail = 123;
  6. public static void Main()
  7. {
  8. // your code goes here
  9. }
  10. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(5,26): error CS0106: The modifier `static' is not valid for this item
prog.cs(5,26): error CS0504: The constant `Test.fail' cannot be marked static
Compilation failed: 2 error(s), 0 warnings
stdout
Standard output is empty