Tag Archives: StringWriter

Format an XML file so it looks nice in C#

This example shows how to format an XML file. When the computer processes an XML file, it doesn’t care about formatting. It doesn’t need indentation and new lines to make the file look nice. As long as the file is … Continue reading

Posted in strings, XML | Tagged , , , , , , , , , , | 4 Comments