把开发过程中比较常用的一些内容段收藏起来,如下的内容是关于C#使用XmlDocument通过XPath获取单个节点的值的内容,希望能对码农们有所用途。
public static Survey GetSurvey(string groupName, string surveyName) {
XmlDocument xmlSurveys = new XmlDocument();
xmlSurveys.Load(filename);
...
}
把开发过程中比较常用的一些内容段收藏起来,如下的内容是关于C#使用XmlDocument通过XPath获取单个节点的值的内容,希望能对码农们有所用途。
public static Survey GetSurvey(string groupName, string surveyName) {
XmlDocument xmlSurveys = new XmlDocument();
xmlSurveys.Load(filename);
...
}