Exemplo n.º 1
0
        public static void Main(string[] args)
        {
            Stack s = new Stack();

            for (int i = 0; i < 100; i++)
            {
                s.AddValue(i);
            }

            for (int i = 0; i < 10; i++)
            {
                s.DeleteFromArray();
            }

            s.PrintArray();

            Console.Read();
        }