title: How will I get the SelectedItem? C# winforms CheckedListBox control
body: <p>Prior to this question, I asked <a href="https://stackoverflow.com/questions/3801290/is-there-displaymember-and-valuemember-like-properties-for-checkedlistbox-con">this</a> question on this site. (Mr Jon Skeet answered it!)</p>
  
  <p>I'm having difficulty retrieving the <code>SelectedItem</code> of the <code>CheckedListBox</code>.
  Please consider my code:</p>
  
  <pre><code>public class StaticValues
  {
      private string value;
      private string display;
      public StaticValues(string val, string disp)
      {
          this.value = val;
          this.display = disp;
      }
  
      public string Value
      {
          get
          { return value; }
      }
  
      public string Display
      {
          get
          { return display; }
      }
  }
  
  private void Form3_Load(object sender, EventArgs e)
  {
      ArrayList dataSource = new ArrayList();
      dataSource.Add(new StaticValues("001", "Item 1"));
      dataSource.Add(new StaticValues("002", "Item 2"));
      dataSource.Add(new StaticValues("003", "Item 3"));
      checkedListBox1.DataSource = dataSource;
      checkedListBox1.DisplayMember = "Display";
      checkedListBox1.ValueMember = "Value";
  }
  
  private void button1_Click(object sender, EventArgs e)
  {
      MessageBox.Show(checkedListBox1.SelectedValue.ToString()); // outputs correct SelectedValue 
      MessageBox.Show(checkedListBox1.SelectedItem.ToString()); // this one doesn't for SelectedItem
  }
  </code></pre>
  
  <p>How will I get the <code>SelectedItem</code>?</p>