public void AddToEnd(int Data) { if (NextNode == null) { NextNode = new Node(Data); } else { NextNode.AddToEnd(Data); } }