public Node Get(int index) { if (index == 0) { return(headNode); } index--; return(headNode.Get(index)); }
public Node Get(int index) { if (next == null) { return(new Node(0)); } else if (index == 0) { return(this); } index--; return(next.Get(index)); }