【发布时间】:2014-05-17 15:27:59
【问题描述】:
我正在尝试这段代码:
string file =@"C:\Program.xml";
XDocument doc = new XDocument(XElement.Load(file));
XElement root = XElement.Parse(doc);
我收到以下错误:
the best overloaded method match for has some invalid arguments
我真的需要一些帮助...我已经搜索了几个小时以寻求解决方案。
【问题讨论】: