I am developing an application in C#, which needs to store a key value pair in settings file. I tried tried to save an arraylist of dictionary in settings file ,but it fails .Here is what i have done:
if (Settings1.Default.arraylst == null)
{
Settings1.Default.arraylst = new System.Collections.ArrayList();
}
Dictionary<string, string> dd = new Dictionary<string, string>();
dd.Add("1", "1");
Settings1.Default.arraylst.Add(dd);
Settings1.Default.Save();
When i restarted the application the arrarylist became null..
Thanks in advance....