title: listbox Refresh() in c#
body: <pre><code>int[] arr = int[100];
  listBox1.DataSource = arr;
  void ComboBox1SelectedIndexChanged(object sender, EventArgs e)
  {
      .....//some processes
      listBox1.DataSource = null;
      listBox1.DataSource = arr;
  }
  
  is not working,
  </code></pre>
  
  <p>also,</p>
  
  <pre><code>listBox1.Refresh(); is not working,
  </code></pre>
  
  <p>also,</p>
  
  <pre><code>listBox1.Update(); is not working,
  </code></pre>
  
  <p><br />
  i know i can use <code>BindingList&lt;T&gt;</code> but i have to work with only array.</p>
  
  <p>can you help me how can i refresh listbox?</p>