fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. new A().t();
  8. }
  9. }
  10.  
  11. class A
  12. {
  13. int a = B.b + c;
  14. public static int c = 3;
  15. public void t()
  16. {
  17. Console.WriteLine("{0} {1} {2}", a, B.b, c);
  18. }
  19. }
  20. class B
  21. {
  22. public static int b = A.c+2;
  23. }
  24.  
  25.  
Success #stdin #stdout 0.03s 36992KB
stdin
Standard input is empty
stdout
8 5 3