title: Replace all occurences of a string from a string array
body: <p>I have a string array like:</p>
  
  <pre><code> string [] items = {"one","two","three","one","two","one"};
  </code></pre>
  
  <p>I would like to replace all ones with zero at once.
  Then items should be:</p>
  
  <p><code>{"zero","two","three","zero","two","zero"};</code></p>
  
  <p>I found one solution <a href="https://stackoverflow.com/questions/2349339/how-do-i-replace-an-item-in-a-string-array">How do I replace an item in a string array?</a>.</p>
  
  <p>But it will replace the first occurrence only. Which is the best method/approach to replace all occurrences?</p>