title: Dictionary as a Datasource for a ComboBox
body: <p>Similar to a <a href="https://stackoverflow.com/questions/6412739/binding-combobox-using-dictionary-as-the-datasource">previous question</a> but for .NET 4.5, where the accepted answer doesn't work when I try it.</p>
  
  <p>I'm trying to populate a ComboBox from a Dictionary. No compiler errors, but I get an ArgumentException: "Complex DataBinding accepts as a data source either an IList or an IListSource". That makes me think that the way I'm binding, ComboBox is only going to let me fill either one or the other, since List is only one dimensional.</p>
  
  <p>Simplified code:</p>
  
  <pre><code>Dictionary&lt;string,string&gt; orgs = await api.CreateOrgMap();
  organizationListComboBox.DataSource = orgs; 
  </code></pre>
  
  <p>I could use a List of an object with the fields Key and Value, but that seems silly when Dictionary <em>should</em> work and ends up with a bonus object. What am I doing wrong / is this no longer possible?</p>
  
  <p>I'm not sure it makes a difference, but I'm using WinForms.</p>