Getting values from a list using foreach
<p>I have list that have values like"</p>

<pre><code>[0] = "{ id = ES10209005, views = 501 }"
[1] = "{ id = HYT0209005, views = 5678}"
[3] = "{ id = POI0209005, views = 4568}"
</code></pre>

<p>I would like to pass the values(id,views) to a method using a for each loop.</p>

<p>method(id,views)</p>

<p>Something like:</p>

<pre><code>foreach (string v in updatereponse)
{

method()
}  
</code></pre>

<p>How do I isolate each value(id,views) from each row in the list then pass it to the method?</p>
