Esempio n. 1
0
        static void Main(string[] args)
        {
            SinglyLinkedList<int> list = new SinglyLinkedList<int>();
            list.Addfirst(7);
            list.Addfirst(6);
            list.Addfirst(5);
            list.Addfirst(4);
            list.Addfirst(3);
            list.Addfirst(2);
            list.Addfirst(1);
            list.RemoveIndex(4);

            foreach (int currentNumber in list)
            {
                Console.WriteLine(currentNumber);
            }



        }