Linq using max to select a single value
<p>How to get the Property ID 3 ? There is a way to cast result to Conta?</p>

<pre><code>List&lt;Conta&gt; contas = new List&lt;Conta&gt;();

contas.Add(new Conta { ID = 1, Saldo = 30 });
contas.Add(new Conta { ID = 2, Saldo = 50 });
contas.Add(new Conta { ID = 3, Saldo = 100 });

var result = contas.Where(c =&gt; c.Saldo == contas.Max(l =&gt; l.Saldo)) ;
</code></pre>