how to save dictionary in c# code example
Example 1: how to save a c# dictionary
var dictionary = new JavaScriptSerializer()
.Deserialize<Dictionary<string, string>>(File.ReadAllText("SomeFile.txt"));
Example 2: how to save a c# dictionary
File.WriteAllText("SomeFile.Txt", new JavaScriptSerializer().Serialize(dictionary));