I Have this XML File
<?xml version="1.0" standalone="yes"?>
<Root>
<Object>
<referenceName>People</referenceName>
<query>select * from people</query>
</Object>
<Object>
<referenceName>Countries</referenceName>
<query>select * from countries</query>
</Object>
</Root>
I need to convert into an object with C#.
I got confused how to do it.
Kindly note that I can have alot of objects in the xml file.
I know that i have to use an [XMLArray……
Thanks
The simplest trick here is at the VS command line:
Et voila; one example.cs file with example C# that shows how to get that xml from .NET objects via
XmlSerializer.In this case, I expect the following would work:
update: validated it; yup, it works…