This is too cool.

Often you have a ComboBox (or ListBox) whose items you want to "bind" to a list of values. In the world of .NET 2.0 we have this funky new generic Dictionary collection, but there's a trick to using it to bind. Here's the code:

var choices = new Dictionary<string, string>(); 
choices["A"] = "Arthur"; 
choices["F"] = "Ford"; 
choices["T"] = "Trillian"; 
choices["Z"] = "Zaphod"; 
comboBox1.DataSource = new BindingSource(choices, null); 
comboBox1.DisplayMember = "Value"; 
comboBox1.ValueMember = "Key"; 

Now you can set comboBox1.SelectedValue = "F" and it will display "Ford"! How cool is that?