title: Modify array with Array.Foreach and lambda expression
body: <p>I'm trying to modify the values of the array but it doesn't get modified:</p>
  
  <pre><code>string buzones = File.ReadAllText("c:\\Buzones");
  string[] buzoneslist = buzones.Split(',');
  
  Array.ForEach(buzoneslist, x =&gt;
  {
      x = x.Replace(",", "");
  });
  </code></pre>
  
  <p>It's like I'm doing a string.Replace without setting the resultant value to the
  variable:</p>
  
  <p><code>s.replace(",", "");</code> instead of  <code>s=s.replace(",", "");</code></p>
  
  <p>Is it possible to accomplish inside a lambda expression?.</p>