Beispiel #1
0
 public void PrintList()
 {
     if (headNode != null)
     {
         headNode.PrintNode();
     }
 }
Beispiel #2
0
 public void PrintNode()
 {
     Console.Write(data + "->");
     if (next != null)
     {
         next.PrintNode();
     }
 }