public void Visualize() { if (headNode != null) { headNode.Visualize(); } }
public void Visualize() { Console.WriteLine("[{0}]", this.Data); if (Next != null) { Next.Visualize(); } }