title: Remove all occurrences of an item in ArrayList
body: <p>I am trying to remove all occurrences of an item in the arraylist</p>
  
  <pre><code>ArrayList list=new ArrayList();
  list.Add("2.2");
  list.Add("2.5");
  list.Add("2.6");
  list.Add("2.2");
  list.Add("2.5");
  list.Add("2.2");
  </code></pre>
  
  <p>How can remove all 2.2 values from the list?I have used </p>
  
  <pre><code>list.Remove("2.2")
  </code></pre>
  
  <p>but it removes only first occurrence</p>