public string Print()//method to help vissualize the list in testing, will be removed
 {
     if (next != null)
     {
         return(compareable + " " + next.Print());
     }
     return(compareable + "");
 }
示例#2
0
 public string Print()
 {
     return(head.Print());
 }