I have a file in XSD format. How can I convert it to a C# class?
I need class reference in other web applications where I need to make post call as per below:
var res = client.Post<Customer>("/customers", c );
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use the XML Schema Definition Tool
xsd.exefound in your framework tools to convert your schema into a serializable class or dataset.And in example, whereas the C# class will be generated in the same directory as the xsd tool: