标签:
var xmlDoc = new XmlDocument(); xmlDoc.Load(fatalFile); var s = xmlDoc.SelectNodes("configuration/appSettings/add[@key=‘KeyName‘]")[0].Attributes["value"];
读取xml
原文地址:http://www.cnblogs.com/haorui/p/3929923.html