C#解决XML反序列化空格值被忽略的问题
摘要:
解决办法:将XmlReaderSettings的值CheckCharacters = false 如下: using (StreamReader sr = new StreamReader(xmlfilePath)) { var setting = new XmlReaderSettings { C 阅读全文
posted @ 2022-06-22 18:00 HotSky 阅读(374) 评论(0) 推荐(0) 编辑