a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
16 lines
224 B
C#
16 lines
224 B
C#
using System;
|
|
|
|
struct Blah : System.IDisposable {
|
|
public void Dispose () {
|
|
Console.WriteLine ("foo");
|
|
}
|
|
}
|
|
|
|
class B {
|
|
public static void Main () {
|
|
using (Blah b = new Blah ()) {
|
|
Console.WriteLine ("...");
|
|
}
|
|
}
|
|
}
|