Exemplo n.º 1
0
		public static void Main (string[] args)
		{
			Console.WriteLine ("** Fun With Dispose **");
			//MyResourceWrapper rw = new MyResourceWrapper ();

			MyResourceWrapper rw = new MyResourceWrapper();
			rw.Dispose();

			MyResourceWrapper rw2 = new MyResourceWrapper();
							
		}
Exemplo n.º 2
0
        public static void Main(string[] args)
        {
            Console.WriteLine("** Fun With Dispose **");
            //MyResourceWrapper rw = new MyResourceWrapper ();

            MyResourceWrapper rw = new MyResourceWrapper();

            rw.Dispose();

            MyResourceWrapper rw2 = new MyResourceWrapper();
        }