Select Value of List of KeyValuePair
<p>How can i select the value from the List of keyvaluepair based on checking the key value</p>

<pre><code>List&lt;KeyValuePair&lt;int, List&lt;Properties&gt;&gt; myList = new List&lt;KeyValuePair&lt;int, List&lt;Properties&gt;&gt;();
</code></pre>

<p>Here I want to get the </p>

<pre><code>list myList[2].Value when myLisy[2].Key=5.
</code></pre>

<p>How can i achieve this?</p>
