Esempio n. 1
0
 public void RunLeftToRight()
 {
     if (LNode != null)
     {
         LNode.RunLeftToRight();
     }
     Console.WriteLine(Data + " ");
     if (RNode != null)
     {
         RNode.RunLeftToRight();
     }
 }
Esempio n. 2
0
 public void RunLeftToRight(List <string> theList)
 {
     if (LNode != null)
     {
         LNode.RunLeftToRight(theList);
     }
     theList.Add(Data.ToString());
     Console.WriteLine(Data + " ");
     if (RNode != null)
     {
         RNode.RunLeftToRight(theList);
     }
 }