Ejemplo n.º 1
0
        public static Int32 Main(string[] args)
        {
            Console.WriteLine("Manual objects create");
            man = new Manual <Resource>(777);

            Console.WriteLine("ARC objects create");
            fARC();
            Console.WriteLine("GC objects create");
            fGC();

            Console.WriteLine("Manual objects destroy");
            Manual.Free(man);

            Console.WriteLine("Prog out");
            GC.GC_gcollect();
            return(0);
        }