I am looking for a way to read the following XML
<Data>
<MaxCount>10</MaxCount>
<Points>
<Point X="10" Y="10"/>
<Point X="20" Y="10"/>
<Point X="30" Y="10"/>
<Point X="40" Y="10"/>
<Point X="50" Y="10"/>
<Point X="60" Y="10"/>
</Points>
</Data>
Basically I want to read all the point values into an array of Point objects (My point object has 2 properties X and Y) and the MaxCount into an integer. What is the best way to pull out the Point values from the XML file using C#?
Thanks