I have a Dictionary object which needs to be written into an XML file.
The dictionary contains String type as Key and a custom class\'s Object (Deriving from System.Windows.
I used DataContractSerializer from System.Runtime.Serialization.dll. Serialized/deserialized my class with two Dictionary properties without any questions.