title: How to add values to Dictionary with a list of dictionaries inside
body: <p>Hello I'm trying to add values to this complex object. I'm trying to turn this object into JSON using JSON.Net. </p>
  
  <pre><code>Dictionary&lt;string, List&lt;Dictionary&lt;string, int&gt;&gt;&gt; MyList 
      = new Dictionary&lt;string, List&lt;Dictionary&lt;string, int&gt;&gt;&gt;();
  </code></pre>
  
  <p>The end result should look something like this: <code>{
     "Documents": [
        {
           "Title": ,
           "DatePublished": ,
           "DocumentURL": ,
           "ThumbnailURL": ,
           "Abstract": ,
           "Sector": "",
           "Country": [
              ""
           ],
           "Document Type": ""
        }</code>
  I have tried this but didn't work: </p>
  
  <pre><code>MyList["Dictionary"][0].Add("test", 4);
  </code></pre>