C#操作XML文件: var path = "Test.xml";XmlDocument xmlDoc = new XmlDocument();if (File.Exists(path)){ xmlDoc.Load(path); XmlNodeList nodeList = xmlDoc.SelectSingleNode("dictionarys").ChildNodes; //»