Beispiel #1
0
        public void Push()
        {
            var stack  = new Stack <int>();
            var system = new S.Stack <int>();

            foreach (var item in Globals.Ints)
            {
                stack.Push(item);
                system.Push(item);

                Comparer <int> .Compare(stack, system);
            }

            Comparer <int> .Compare(stack, system);
        }
        public void Push()
        {
            var stack  = new Stack <string>();
            var system = new S.Stack <string>();

            foreach (var item in Globals.Strings)
            {
                stack.Push(item);
                system.Push(item);

                Comparer <string> .Compare(stack, system);
            }

            Comparer <string> .Compare(stack, system);
        }