KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have an XML schema .xsd file and generate my file with all the C# classes with the xsd.exe tool . If I have a sequence of elements within an XML tag, that would be represented in C# with an array. The fail is obvious. How can I generate Lists instead of arrays? Instead of fixed size arrays in a class, I would like to use Lists. Book [] books = new Book[someFixSize]; List<Book> books = new List<Book>(); I have seen some older (very old) questions about this, but none of them provided a satisfied solution :/ This is the latest useful hint: http://www.stefanbader.ch/xsdcsarr2l-exe-refactor-xsd-array-to-list/
Tags (comma-separated)
Save Edits
Cancel