I have contents in a Dictionary<string, List<string>>
that I want to dump to file and then read it later and load the file contents to a dictionary in the same format, is it possible to do it in C# in an easy way?
I know I can parse the lines in the file and create back the dictionary but I was looking for something similar to the way this can be done in Python using cPickle. cPickle can dump an object to a file in binary format and then load it later from that file.