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); }
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); }