Straight It solutions

My archive of working solutions of programming problems

Showing posts with label xsd. Show all posts
Showing posts with label xsd. Show all posts

2016/07/26

How to generate C# classes from xml in Visual Studio ?


  1. Copy xml to clipboard
  2. Open Visual Studio -> create class file -> remove class definition -> edit menu -> Paste special -> Paste XML As Classes
  3. Replace typeA[][] to List<TypeA>
Posted by mach2 at 6:59 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: C#, xml, xsd
Older Posts Home
Subscribe to: Posts (Atom)

Blog archive

  • ▼  2021 (11)
    • ▼  November (1)
      • How to store constant strings in ASP MVC .Core ?
    • ►  October (1)
    • ►  September (1)
    • ►  June (1)
    • ►  April (4)
    • ►  March (3)
  • ►  2020 (9)
    • ►  December (1)
    • ►  November (2)
    • ►  October (1)
    • ►  September (2)
    • ►  May (3)
  • ►  2019 (4)
    • ►  December (3)
    • ►  October (1)
  • ►  2018 (1)
    • ►  September (1)
  • ►  2017 (6)
    • ►  August (1)
    • ►  July (3)
    • ►  April (1)
    • ►  January (1)
  • ►  2016 (37)
    • ►  August (2)
    • ►  July (9)
    • ►  June (3)
    • ►  May (7)
    • ►  March (3)
    • ►  February (12)
    • ►  January (1)
  • ►  2015 (32)
    • ►  December (5)
    • ►  October (1)
    • ►  September (4)
    • ►  July (5)
    • ►  June (8)
    • ►  May (1)
    • ►  April (3)
    • ►  March (1)
    • ►  February (3)
    • ►  January (1)
  • ►  2014 (49)
    • ►  December (5)
    • ►  October (2)
    • ►  September (1)
    • ►  August (23)
    • ►  July (18)
Simple theme. Theme images by gaffera. Powered by Blogger.