XElement xxcc = XElement.Load("信息存储.xml");
IEnumerable<XElement> elements = from ele in xxcc.Elements("root")//无法引用非静态变量
select ele;
string text = from t in xxcc.Descendants("conf");
出现了错误
string text = from t in xxcc.Descendants("conf");
->
string text = (from t in xxcc.Descendants("conf") select t).First().ToString();