Help with XML SerializableDictionary in C#
- by psilos
Hi I am using the class
public class SerializableDictionary
: Dictionary, IXmlSerializable in order to serialize a dictionary. However it doesnt work when as values I have collelctions (eg List) or tyes other than the primitive types (eg. int, double, string....).
My question is which types the TKey, TValue imply or can hold, and if there is way to have a serializable dictionary which collections as values.