📅  最后修改于: 2022-03-11 14:49:07.985000             🧑  作者: Mango
代码示例1
string[] MyArray = XDocument.Parse(xml).XPathSelectElements("//a").Select(e => e.Attributes("href").FirstOrDefault().Value).ToArray()`