title: LINQ - update a field within where clause
body: <p>My object hierarchy is like this:</p>
  
  <pre><code>class Detail
  {
      public List&lt;Row&gt; Rows { get; set; }
  }
  
  class Row
  {
      public List&lt;Column&gt; Columns { get; set; }
  }
  
  class Column
  {
      public string Name { get; set; }
      public bool IsUpdated { get; set; }
  }
  </code></pre>
  
  <p>I want to set column.IsUpdated = true where column.Name = "id".
  I am trying this, it doesn't work.</p>
  
  <pre><code>detail.Rows.ForEach(r =&gt; r.Columns.Where(c =&gt; c.Name.ToLower().Equals("id")).ToList&lt;Column&gt;().Select(c =&gt; c.IsUpdated = true));
  </code></pre>