Adding a key value pair in a dictionary inside a dictionary
<p>I have a dictionary &lt; string,object > which has a mapping of a string and a dictionary &lt; string,int >. How do I add a key value pair in the inside dictionary &lt; string ,int > ?</p>

<pre><code>Dictionary &lt;string,object&gt; dict = new Dictionary &lt;string,object&gt;();
Dictionary &lt;string,int&gt; insideDict = new Dictionary &lt;string,int&gt;();
// ad some values in insideDict
dict.Add("blah",insideDict);
</code></pre>

<p>So now the dict has a dictionary mapped with a string.Now I want to separately add values to the insideDict.
I tried </p>

<pre><code>dict["blah"].Add();
</code></pre>

<p>Where am I going wrong?</p>