> Yes, I know... its dificult to leave the past, but I feel > .Net does'nt have a good Iterator interface where you can go foward and > backward in a collection. Worst, your enumerator become invalid when you > add or remove items from a collection.
Eric Gunnerson (microsoft) has provided some nice examples of how to user iterators for isolated access (adding and removing items), as well as using foreach in reverse, on sub-lists, and in sorted order. Here's the source. http://www.gotdotnet.com/userfiles/ericgu/iter.zip Best wishes James _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
