Ejemplo n.º 1
0
 private void BuildIntLinkedListRandom(SCLinkedList <int> list, int start, int end)
 {
     for (int i = start; i <= end; ++i)
     {
         list.InsertTail(i);
     }
     WriteLine("Build:[{0}:{1}]", start, end);
 }
Ejemplo n.º 2
0
 private void BuildStringLinkedListRandom(SCLinkedList <string> list, int start, int end)
 {
     for (int i = start; i <= end; ++i)
     {
         list.InsertTail(string.Format("Index:{0}", i));
     }
     WriteLine("Build:[{0}:{1}]", start, end);
 }