I have saved a dictionary with the follows:
using (var file = File.OpenWrite("dictionary.txt"))
foreach (KeyValuePair<string, string> entry in dictionary)
{
streamwriter.WriteLine(entry.Key + entry.Value);
}
How do I re-open this file and store the saved data back into a new dictionary?
UPDATE Answered