title: LINQ: What does All() return if there is no element?
body: <p>This is a very simple question but "All" is such a bad keyword to google lol.</p>
  
  <p>I want to get all categories, where none of its products are updated, or don't have any products.</p>
  
  <p>In other words, get all categories, where all of its products are not yet updated, including all categories that don't have any products yet.</p>
  
  <p>Is this the right expression?</p>
  
  <pre><code>var categs = context.Categories.Where(c =&gt; c.Products.All(x =&gt; !x.Updated));
  </code></pre>