title: Add string array to combobox c# wpf
body: <p>I need to add 12 strings to a ComboBox in WPF application. Using XAML is very hard because I have to add one by one. So I used string array to do so. </p>
  
  <p>I used the following code,</p>
  
  <pre><code>string[] arrayMonth = new string[] { "January", "February", "March", "April", "May",  
      "June", "July", "August", "September", "October", "November", "December"};
  
  cmbMonth_Finance_ES.ItemsSource = arrayMonth;
  </code></pre>
  
  <p>But ComboBox loads empty. I tried all over the internet but found nothing. So please help me to add string array into a ComboBox.</p>