I am trying to initialize a ComboBox from a Dictionary as follows:
Dictionary<string, int> TestDictionary = new Dictionary<string, int>
{
{"Text1", 1},
{"Text2", 2},
{"Text3", 3}
};
testComboBox.DataSource = new BindingSource(TestDictionary, null);
But this throws the following exception: