title: Using ExpandoObject with ComboBox Items not picking up Display and Value members
body: <p>I'm not 100% familiar with the low-level implementation details of the dynamic keyword and the use of the ExpandoObject class so this might be a silly question, but I'm setting the DisplayMember and ValueMember of a combobox and then instantiating an ExpandoObject object and adding it to the ComboBox but the display and value members don't seem to be picked up. This is my code in a standard C# WinForms application:</p>
  
  <pre><code>    private void Form1_Load(object sender, EventArgs e)
      {
          dynamic eo = new ExpandoObject();
          eo.DisplayMember = "Hello";
          eo.ValueMember = 0;
  
          comboBox1.DisplayMember = "DisplayMember";
          comboBox1.ValueMember = "ValueMember";
  
          comboBox1.Items.Add(eo);
      }
  </code></pre>
  
  <p>However, the display text for the item is "System.Dynamic.ExpandoObject". I have instead created a custom class to use for this which does work but I would like to know why the ExpandoObject doesn't work. If anyone could possibly point me in the right direction here I would really appreciate it.</p>