title: Best way to set value a List boolean
body: <p>I'd like to set value in List Boolean.</p>
  
  <p>like this:</p>
  
  <pre><code>List&lt;bool&gt; items = new List&lt;bool&gt; { false, false, false };
  
  for(int i=0; i&lt;items.count; i++)
  {
     items[i] = true;
  }
  </code></pre>
  
  <p>I tried this, but it doesn't work:</p>
  
  <pre><code>items.ForEach(c=&gt; c = true);
  </code></pre>
  
  <p>Is there a good way?
  Thanks.</p>