How do I read and parse an XML file in C#?

后端 未结 11 2141
庸人自扰
庸人自扰 2020-11-21 23:03

How do I read and parse an XML file in C#?

11条回答
  •  -上瘾入骨i
    2020-11-21 23:40

    You can either:

    • Use XmlSerializer class
    • Use XmlDocument class

    Examples are on the msdn pages provided

提交回复
热议问题