How can I build XML in C#?

前端 未结 9 1874

How can I generate valid XML in C#?

9条回答
  •  爱一瞬间的悲伤
    2020-11-22 07:11

    In the past I have created my XML Schema, then used a tool to generate C# classes which will serialize to that schema. The XML Schema Definition Tool is one example

    http://msdn.microsoft.com/en-us/library/x6c1kb0s(VS.71).aspx

提交回复
热议问题