title: C#: Update Item value in List<of T>
body: <p>I'm looking for a way to update an Element in a List without enumerating it on my own.</p>
  
  <p>I got the Class MyProjects which hold a List named Projects.</p>
  
  <p>I want to find the MyProjects.Projects-Class, where a member property of Class1 (Name) equals the Value "Overhead".</p>
  
  <p>What works:</p>
  
  <pre><code>foreach (Project prj in MyProjects.Projects) {
      if (prj.Name == "Overhead")
          prj.IsActive = true;
  }; 
  </code></pre>
  
  <p>I, however, try to do the same by using Linq, but failed in writing it as one line. Is this even possible? The reason why I don't like to iterate in the way above is that I already iterate the whole list in this codeblock and think, that there might be a more beautiful way :)</p>