title: Changing all values in a lambda/LINQ
body: <p>I have a dictionary of a list of objects that looks like this</p>
  
  <pre><code>class Client
      {
          public int Hash { get; set; }
          public bool Active { get; set; }
      }
      var ClientsDict = new Dictionary&lt;string, List&lt;Client&gt;&gt;();
  </code></pre>
  
  <p>I have no problem setting a single record value in the list</p>
  
  <pre><code> ClientsDict[userId].First(a =&gt; a.Hash == hash).Active = true;
  </code></pre>
  
  <p>How do I do the inverse of that and set all the others in the list to false?</p>
  
  <pre><code> ClientsDict[userId].All().Active = false; //cannot resolve symbol
  </code></pre>
  
  <p>Note: I wanna avoid a foreach</p>
  
  <p>EDIT:</p>
  
  <pre><code>ClientsDict[userId].ForEach(a =&gt; a.Active = false); //this works
  </code></pre>