How can I build XML in C#?

前端 未结 9 1857

How can I generate valid XML in C#?

9条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-22 07:03

    For simple cases, I would also suggest looking at XmlOutput a fluent interface for building Xml.

    XmlOutput is great for simple Xml creation with readable and maintainable code, while generating valid Xml. The orginal post has some great examples.

提交回复
热议问题