Posted on

XmlWriter is an easy way to generate XML when you need it. If you’re building something more complex, like something for an API, you probably want to go with serialization instead. Otherwise, this is pretty easy to build XML how you want it top to bottom.

View code on GitHub

Leave a Reply

Your email address will not be published. Required fields are marked *