title: loop over dictionary object in c#
body: <p>I have a dictionary userData of type string object.
  I make an http call to get data.</p>
  <pre class="lang-cs prettyprint-override"><code>internal static Dictionary&lt;string, object&gt; userData = null;
  
  userData = Newtonsoft.Json.JsonConvert.DeserializeObject&lt;Dictionary&lt;string, object&gt;&gt;(httpData);
  </code></pre>
  <p>structure of userData is something like this</p>
  <pre class="lang-json prettyprint-override"><code>{
      &quot;id&quot;: &quot;12345&quot;,
      &quot;class&quot;: [
          &quot;my-user&quot;,
          &quot;college-student&quot;
      ],
      &quot;list&quot;: [
          {
              &quot;a&quot;: &quot;CSE&quot;,
              &quot;b&quot;: &quot;DataBase&quot;
          },
          {
              &quot;a&quot;: &quot;IT&quot;,
              &quot;b&quot;: &quot;ComputerNetwork&quot;
          }
      ]
  }
  </code></pre>
  <p>Now i have to iterate over this userData to retrieve value of a and b.
  Can please someone help me to do so in c#</p>