public void Print() { if (headNode != null) { headNode.Print(); } }
public void Print() { Console.Write("|" + data); if (Next != null) { Console.Write("|-->"); Next.Print(); } else { Console.WriteLine("|"); } }
public void Print() { if (headNode != null) { headNode.Print(); } }
public void Print() { Console.Write("|" + data); if (Next != null) { Console.Write("|-->"); Next.Print(); } else { Console.WriteLine("|"); } }