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