示例#1
0
        static void Adding2LinkedList()
        {
            var obj = new CareerCupQnA();
            var one = new LinkedList <int>();

            one.AddLast(1);
            one.AddLast(2);
            one.AddLast(3);
            one.AddLast(7);

            var sec = new LinkedList <int>();

            sec.AddLast(2);
            sec.AddLast(9);
            obj.Adding2LinkedList(one.First, sec.First);
        }