How to read XML file in c#?

sunni

New Member
I have following XML file, i want to know best way to read this XML file\[code\]<MyFile> <Companies> <Company>123</Company> <Company>456</Company> <Company>789</Company> </Companies> </MyFile>\[/code\]As an output i need collection of values like "123,456,789" or it could be array of string[]Can we use Linq to xml? How?
 
Back
Top