static void Main(string[] args) { { DestructTest t2 = new DestructTest(); } //GC.Collect(3, GCCollectionMode.Forced); Console.WriteLine("top"); using (DisposeTest t = new DisposeTest()) { } Console.WriteLine("bottom"); }