Generate C# class from XML

后端 未结 8 1979
青春惊慌失措
青春惊慌失措 2020-11-22 05:19

Can I generate a C# class from an XML file?

8条回答
  •  不知归路
    2020-11-22 05:24

    You should consider svcutil (svcutil question)

    Both xsd.exe and svcutil operate on the XML schema file (.xsd). Your XML must conform to a schema file to be used by either of these two tools.

    Note that various 3rd party tools also exist for this.

提交回复
热议问题