title: Unpack tuple in LINQ lambda
body: <p>I have a LINQ query that uses tuples for optimization.  However, I'm unable to find working syntax to unpack the tuple in the arguments, which seems surprising because C# does support unpacking tuples and other languages supporting lambdas and tuples do support unpacking.</p>
  
  <p>Is there any way to leverage unpacking in the expression below instead of referencing properties of the full tuple?</p>
  
  <pre class="lang-cs prettyprint-override"><code>            shelves
                  .Select(kv =&gt; (kv.Key, kv.Value.Orders.Count))
                  .Where(tuple =&gt; tuple.Count &gt; 0)
                  .OrderBy(tuple =&gt; tuple.Count)
                  .Select(tuple =&gt; tuple.Key);
  </code></pre>