Class containing the dictionary
public class Something { public Dictionary<string, string> Thing { get; set; } }
does not serialize, throwing an exception at the time of creating an instance of the XmlSerializer class.
XmlSerializer serializer = new XmlSerializer(typeof(Something));
How to bypass this restriction?