c# - Looping through RESX file, items not in order -


I am looping through a resx file using the method described in an acceptable answer here:

But the objects are not being read in this sequence that they are in the race file, which I expected. The order is not random and is preserved between read, but is back:
Line3
Line2
Line1
Line6
Line5
Line4

Do not preserve the order of the dictionary / hashtables elements There is also no guarantee that order run-time versions, x86 / x64 / others The flavor or the same binary will also be similar to the run (also usually the order remains the same).

Resortset class calculates every name and value on an IRSReader, and to store them in hashtables . A custom IRSorder can be used.


Comments

Popular posts from this blog

Member with no value in F# -

java - Joda Time Interval Not returning what I expect -

c# - Showing a SelectedItem's Property -