public static Node Eleven(Node chain1, Node chain2) { // A: Node newChain = new Node(chain1.GetInfo()); Node pos = newChain; while (chain1.GetNextNode() != null) { pos.SetNext(chain1.GetNextNode()); chain1 = chain1.GetNextNode(); pos = pos.GetNextNode(); } while (chain2.GetNextNode() != null) { pos.SetNext(chain2); chain2 = chain2.GetNextNode(); pos = pos.GetNextNode(); } return newChain; // B: Node pos = chain1; while (pos.GetNextNode() != null) { pos = pos.GetNextNode(); } pos.SetNext(chain2); return chain1; }