Sunday 25 August 2019

c# - How does one parse XML files?






Is there a simple method of parsing XML files in C#? If so, what?


Answer



I'd use LINQ to XML if you're in .NET 3.5 or higher.



No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...