title: Getting Items from Dictionary by key
body: <p>I have this structure:</p>
  
  <pre><code>static Dictionary&lt;int, Dictionary&lt;int, string&gt;&gt; tasks = 
      new Dictionary&lt;int, Dictionary&lt;int, string&gt;&gt;();
  </code></pre>
  
  <p>it looks like that</p>
  
  <pre><code>[1]([8] =&gt; "str1")
  [3]([8] =&gt; "str2")
  [2]([6] =&gt; "str3")
  [5]([6] =&gt; "str4")
  </code></pre>
  
  <p>I want to get from this list all of the <code>[8]</code> strings, meaning <code>str1</code> + <code>str2</code><br>
  The method should look like the following:</p>
  
  <pre><code>static List&lt;string&gt; getTasksByNum(int num){
  
  }
  </code></pre>
  
  <p>How do I access it?</p>