title: can I .foreach a string[]?
body: <p>I have a parameter <code>userSearch.Expand</code> where the <code>Expand</code> property is a <code>string[]</code>. I want to convert all values in this <code>string[]</code> to upper case. I was hoping to do something like </p>
  
  <pre><code>userSearch.Expand.ForEach(x =&gt; x = x.ToUpper());
  </code></pre>
  
  <p>But it looks like <code>.ForEach()</code> is not available on a <code>string[]</code>.</p>
  
  <p>Is there a workaround for this or a simplified way to do this or will I need to revert a more basic loop for this?</p>