title: Assign multiple values using linq
body: <p>Please, refer to this other post: <a href="https://stackoverflow.com/questions/5376405/assign-value-using-linq">assign value using linq</a></p>
  <p>With this expression we can update one value in multiple items of a list:</p>
  <pre><code>listOfCompany.Where(c=&gt; c.id == 1).ToList().ForEach(cc =&gt; cc.Name = &quot;Whatever Name&quot;);
  </code></pre>
  <p>Is it possible to update more than one value? Is this more efficient that implementing a foreach structure and set the multiple values in it?</p>