How to parse string XML and extract int values



What would be the simple way of parsing XML below which is of string datatype and get the IDs as array of int. Using C#.Net



<IDs>
<ID>1</ID>
<ID>2</ID>
<ID>3</ID>
<ID>4</ID>
</IDs>

No comments:

Post a Comment