How should i convert XElement like below into an array of Points (Point could be a class with variables X and Y):
<Points xmlns="">
<Point X="420" Y="240" />
<Point X="400" Y="298" />
<Point X="350" Y="335" />
<Point X="289" Y="335" />
<Point X="239" Y="298" />
<Point X="220" Y="239" />
<Point X="239" Y="181" />
<Point X="289" Y="144" />
<Point X="350" Y="144" />
<Point X="400" Y="181" />
</Points>