title: Add items to a Dictionary<int, List<int>>
body: <p>So I am looping through some objects and initializing a Dictionary> object.</p>
  
  <p>So first I check if the key exists, if it does I will add to the List</p>
  
  <p>If it doesn't, I will create a new key and new List</p>
  
  <p>Is that the right logic?<br>
  I will have to do a:</p>
  
  <pre><code>new List&lt;int&gt;();
  </code></pre>
  
  <p>the first time I insert an item right?</p>
  
  <p>i.e.:</p>
  
  <pre><code>if(myDic.ContainsKey(car.ID))
  {
        myDic[car.ID].Add(car.MfgID);
  }
  else
  {
     myDic.Add(car.ID, new List&lt;int&gt;);
     myDic[car.ID].Add(car.MfgID);
  }
  </code></pre>