A few years back i needed to serialize and deserialize a dictionary. The solution turned out to be Adar Wesleys SerializeableDictionary. I can’t find the source blog post by Adar Wesley anymore but only the classes that you need to import into your project. If those files has been deleted as well i have a backup of those files here: serializabledictionary. This is an example on how to do it with C#.
Serialize and deserialize dictionary example
Once the files are included into your project you can use this example to serialize and deserialize a dictionary:
This post is a translation of a blog post that i wrote in Swedish a long time ago. I finally got my thumb out and translated it to English.
I hope you find this post valuable. If you click the ad below I get paid by someone else and can continue to publish posts for free. I would appreciate it very much.