I am receiving an XML file over a socket and want to retrieve all the values inside the XML by converting it into a c# class object
Please guide me how to do this
I need all the values of SNo,File,It and MaxIt
P.S. I am using Visual Studio 2010
Here is my XML file:
<?xml version="1.0" standalone="yes"?>
<NewDataSet>
<default.xml>
<SNo>31</SNo>
<File>300K</File>
<It>5</It>
<MaxIt>10</MaxIt>
</default.xml>
<default.xml>
<SNo>32</SNo>
<File>200K</File>
<It>5</It>
<MaxIt>10</MaxIt>
</default.xml>
</NewDataSet>
[EDITED] Please note that I need to use these values dynamically as I am working on a utility which sends XML file to another system via sockets. I dont think I can ude xsd here