fork download
  1. using System;
  2. class A : IDisposable{public Dispose():void{}}
  3. public class Test
  4. {
  5. public static Main() : void
  6. {
  7. def x = using(a = A()) { 1 };
  8. Console.Write(x);
  9. }
  10. }
Success #stdin #stdout 0.08s 13432KB
stdin
Standard input is empty
stdout
1