Ejemplo n.º 1
0
        public static void Main_5_3_2()//Main_5_3_2
        {
            FileDealer fd = null;

            try
            {
                fd = new FileDealer(new IntPtr(), new ManagedRes());
                fd.Read();
            }
            finally
            {
                if (fd != null)
                {
                    fd.Dispose();
                }
            }

            //using(FileDealer fd = new FileDealer(new IntPtr(), new ManagedRes()))
            //{
            //    fd.Read();
            //}
        }
Ejemplo n.º 2
0
        //Main_5_3_2
        public static void Main_5_3_2()
        {
            FileDealer fd = null;
            try
            {
                fd = new FileDealer(new IntPtr(), new ManagedRes());
                fd.Read();
            }
            finally
            {
                if (fd != null)
                    fd.Dispose();
            }

            //using(FileDealer fd = new FileDealer(new IntPtr(), new ManagedRes()))
            //{
            //    fd.Read();
            //}
        }