How to get Max value from list, but if there are 2 or more same value record then get all
<p>I have a list of key and value for ex:-</p>

<pre><code>Key Value
21   2
23   1
24   2
</code></pre>

<p>i want max value record which i can get in linq with max(x=>x.value), but here in my case 21 and 24 both have max value and in this type of case means when there are 2 or more key have same max value then i want all of them how can i get expected result.</p>

<p>Please Give me hint or idea.</p>

<p>Regards,
vinit Patel</p>