Loop through Dictionary with string key=>vals?? C#
<pre><code>public static string DictToQueryString(Dictionary&lt;string, string&gt; data)
{
    string querystring = "";

    foreach (string key, string val in data)
         querystring += key + "=" + val + "&amp;";

    return querystring;
}
</code></pre>

<p>How i foreach?</p>
