fork download
  1. using System;
  2. class Main
  3. {
  4. public static void Main(string[] args)
  5. {
  6. int x = 2;
  7. x += x++ * x++ * x++;
  8. Console.Write(x);
  9. }
  10. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(4,20): error CS0542: `Main.Main(string[])': member names cannot be the same as their enclosing type
prog.cs(2,7): (Location of the symbol related to previous error)
Compilation failed: 1 error(s), 0 warnings
stdout
Standard output is empty