Generate c# object code and assign values to its properties from an xml document

lio

New Member
We have a xml file generated from a schema and these are shared with us, we need to generate c# code for from the xml file and set its properties. I can create a parser to do this, but was checking if there are any OOB solutions.for example\[code\]<Customer> <fname>tom</fname> <lname>jerry</lname></Customer>\[/code\]to\[code\] Customer cust=new Customer(); fname="tom"; lname="jerry";\[/code\]
 
Back
Top