技术栈

字典容器反序列化xml文件失败

牛奶咖啡13
2 年前
xml·字典容器序列化对象为xml失败·字典容器反序列化xml文件失败·解决c#序列化对象为xml报错
C#对字典容器Dictionary<TKey, TValue>内容进行XML序列化或反序列化报错解决方法在使用C#对字典容器Dictionary<TKey, TValue>内容进行XML序列化报错【System.Exception:“不支持类型 System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=2.0.0.0, Culture=