Example #1
0
 public void Print()
 {
     if (head != null)
     {
         head.Print();
     }
 }
Example #2
0
 public void Print()
 {
     Console.Write("|" + data + "| -->");
     if (next != null)
     {
         next.Print();
     }
 }