示例#1
0
		[TestMethod] //IDisposable
		public void DisposeTest()
		{
			int n = 3;
			StackArray<object> data = new StackArray<object>(n);
			data.Push(8);
			data.Push(6);
			data.Push(10);
			data.Dispose();

		}
示例#2
0
        [TestMethod]         //IDisposable
        public void DisposeTest()
        {
            int n = 3;
            StackArray <object> data = new StackArray <object>(n);

            data.Push(8);
            data.Push(6);
            data.Push(10);
            data.Dispose();
        }