public static void Main(string[] args) { LinkedList <int> theList = new SortedLinkedList <int>( ); LinkedListIterator <int> theItr; int i; theItr = theList.Zeroth( ); PrintList(theList); for (i = 0; i < 10; i++) { theList.Insert(i * 7 % 10, theItr); PrintList(theList); theItr.Advance( ); } for (i = 0; i < 10; i += 2) { theList.Remove(i); } for (i = 0; i < 10; i++) { if ((i % 2 == 0) == (theList.Find(i).IsValid( ))) { Console.WriteLine("Find fails!"); } } Console.WriteLine("Finished deletions"); PrintList(theList); }