extract info from a string
<p>Suppose I have a string that looks like the following:</p>

<pre><code>string foo ="&lt;add key="key1" Value="val1"/&gt;
    &lt;add key="key2" Value="val2"/&gt;
    &lt;add key="key3" Value="val3"/&gt;"
</code></pre>

<p>frrom this string i need to loop through and get every key value pair and do something with them.
how can i do that?</p>

<p>thanks</p>
