Linq To Xml小结

                // 解析登录返回的xml信息
                XElement root = XElement.Parse(loginResult);
                string code = root.Element("Result").Element("Code").Value;
                string message = root.Element("Result").Element("Message").Value;
原文地址:https://www.cnblogs.com/dbasys/p/2299491.html