Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

populate array from an XML file

string[] MyArray = XDocument.Parse(xml).XPathSelectElements("//a").Select(e => e.Attributes("href").FirstOrDefault().Value).ToArray()`
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #populate #array #XML #file
ADD COMMENT
Topic
Name
3+9 =