title: linq how to get values from var
body: <p>How do I get the individual values from the following LINQ query? (I want to get the value for DecalExpireDate, DecalExpireMonth, and DecalExpireYear.)</p>
  
  <pre><code>var previousExpirationDate = (from d in db.CT_Decals
                                where d.TankID == decal.TankID
                                &amp;&amp; d.DecalStatus == "Approved"
                                select new
                                {
                                    d.DecalExpireDate,
                                    d.DecalExpireMonth,
                                    d.DecalExpireYear
                                }).Max(d =&gt; d.DecalExpireDate);
  </code></pre>