title: C# How to get the Enum value from ComboBox in WinForms?
body: <p>I am binding a Dictionary to a ComboBox which keeps the Enum values.  </p>
  
  <p>To retrieve the selected value I used:<br>
  <code>comboBox1.SelectedItem</code> which returns a dimensional value of <code>[0,Permanent]</code>.  </p>
  
  <p>I just want to retrieve <code>Permanent</code> and then convert it back to Enum.</p>
  
  <p>Something like:<br>
  <code>Employee.JobType = Enum.Parse(JobType, comboBox1.SelectedItem)</code></p>
  
  <p>How can I achieve this?</p>