2 // Tests variable type inference with the var keyword when using the "using" statement
5 public class MyClass
: IDisposable
8 public MyClass (string s
)
20 public static int Main ()
22 using (var v
= new MyClass("foo"))
23 if (v
.GetType() != typeof (MyClass
))