Example #1
0
    static void Main()
    {
        Linkedlist l1 = new Linkedlist();

        l1.addLastWithTail(1);
        l1.addLastWithTail(5);
        l1.addLastWithTail(7);
        l1.addLastWithTail(9);
        l1.changenext(ref l1.head);
        l1.printList();
    }