摘要:
DataContractSerializerserializer=newDataContractSerializer(typeof(Dictionary<MeterSetTypeEnum,MeterSet>));StringBuildersb=newStringBuilder();XmlWriterSettingssettings=newXmlWriterSettings();settings.Indent=true;settings.IndentChars="";using(XmlWriterwriter=XmlWriter.Create(sb,setting 阅读全文