Help with XML SerializableDictionary in C#
Posted
by psilos
on Stack Overflow
See other posts from Stack Overflow
or by psilos
Published on 2010-03-12T10:21:45Z
Indexed on
2010/03/12
10:27 UTC
Read the original article
Hit count: 222
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.
© Stack Overflow or respective owner