In (VB).NET (4.0 framework), I'd need a Dictionary<string, string>
that can efficiently store its contents, or better its internal representation to a file and load it later.
Ruby has such a thing in PStore, see ruby docs.
The intention is to once prepare a lookup dictionary for e.g. text translations out of a database and store it in a disk file that can quickly be loaded multiple times for output generation. So this should not read the file line by line and fill the Dictionary with the key-value pairs, but instead load the file contents in one go directly into its internal state representation.
I think this should be possible, but I would also like to see your explanations if you think otherwise.