Exemplo n.º 1
0
        public void CgCollectTest()
        {
            GarbageCollection o = new GarbageCollection();

            o = null;
            GC.Collect();
        }
Exemplo n.º 2
0
        public void IdisposableTest()
        {
            GarbageCollection o = new GarbageCollection();

            using (o)
            {
            }
        }