title: How do I conditionally update List<Object> items using LINQ
body: <p>How do I conditionally update <code>List&lt;object&gt;</code> items using LINQ, I have managed to get a way to update all items in <code>List&lt;object&gt;</code> using this syntax:</p>
  
  <pre><code>var updatedList = sourceList.Select( x =&gt; { x.PropertyA = NewValue; return x; }).ToList();
  </code></pre>