Jump to content

Working with XML: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

17 January 2025

  • curprev 18:0618:06, 17 January 2025 Chr1ss talk contribs 7,076 bytes +7,076 Created page with "# XML in CSharp __TOC__ In C# you can use the built-in System.Xml namespace to extract data from XML files and write XML files. There are two common approaches for working with XML in .NET: == Streaming approach (Using XmlReader and XmlWriter) == The streaming approach is more memory-efficient for large XML files, as it processes the XML sequentially without loading the entire document into memory. Here's an example: <pre> using System; using System.Xml; // Reading fro..."