fork(59) download
  1. class Program
  2. {
  3. static int x = 0;
  4.  
  5. static int f()
  6. {
  7. x = x + 10;
  8. return 1;
  9. }
  10.  
  11. public static void Main()
  12. {
  13. x += f();
  14. System.Console.WriteLine(x);
  15. }
  16. }
Success #stdin #stdout 0.03s 33856KB
stdin
Standard input is empty
stdout
1