On 7/5/07, Frans Bouma <[EMAIL PROTECTED]> wrote:

        One could use the enumerator indeed, but if I add an item, is it
always appended to the list? IMHO undefined. The Dictionary<T,U> docs say:
"For purposes of enumeration, each item in the dictionary is treated as a
KeyValuePair structure representing a value and its key. The order in
which
the items are returned is undefined."

        So it's undefined what order the items are returned. :)


It's not undefined. It's just not defined in a way that's useful to anybody.
:)

Dictionaries of identical size with identical items will enumerate
identically. I'm sure if someone really wants to know what order things will
come out in, they can find a way. ;)

===================================
This list is hosted by DevelopMentor�  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to