Thank you for the detailed reply. I should have mentioned I'm dealing with 3rd party XML which I cannot modify. It sounds like I need to keep doing what I'm doing.
Maybe I'm missing something. The code doesn't know to split out the properties (Enable, Name, & Description) that exist as a Setting in each row. Each row contains many settings. The setting contains the property name and the value of the property.
I created a sample project to illustrate how...
Thanks for the reply. You have given me an idea here that I can iterate through each row/setting and use reflection to get property values. This should work better than hundreds of lines of LINQ to get property values.
I'm inheriting a project and I believe they used xsd.exe to generate the C#...
Hi. I am having an issue figuring out the best way to deserialize the below XML into an easily usable object. Using a C# to XML converter I have a usable object in which I can serialize and deserialize objects. The issue is that using this XML I have to use LINQ to pull out property values. The...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.