Example #1
0
        static void List(string[] args)
        {
            SingleList<int> SList = new SingleList<int>();

            SList.Print();

            SList.Push(45);
            SList.Print();
            SList.Reverse();
            SList.Print();
            SList.Push(54);
            SList.Print();
            SList.Reverse();
            SList.Print();
            int[] intArray = { 234, 632, 123, 654, 1, 354, 0 };
            SList.Push(intArray);
            SList.Print();
            SList.Reverse();
            SList.Print();
        }