title: Getting number of days in a month
body: <p>I have a comboBox with all of the months in it.</p>
  
  <p>What I need to know is the number of days in the chosen month.</p>
  
  <pre><code>var month = cmbMonth.SelectedIndex + 1;
  DateTime date = Convert.ToDateTime(month);
  </code></pre>
  
  <p>So if a user selects January, I need to save 31 to a variable.</p>