title: How can I transform XML into a List<string> or String[]?
body: <p>How can I transform the following XML into a <code>List&lt;string&gt;</code> or <code>String[]</code>:</p>
  
  <pre><code>&lt;Ids&gt;
    &lt;id&gt;1&lt;/id&gt;
    &lt;id&gt;2&lt;/id&gt;
  &lt;/Ids&gt;
  </code></pre>