title: Getting a KeyValuePair<> directly from a Dictionary<>
body: <p>I have <code>System.Collections.Generic.Dictionary&lt;A, B&gt; dict</code> where A and B are classes, and an instance <code>A a</code> (where <code>dict.ContainsKey(a)</code> is true).</p>
  
  <p>Is it possible to get the KeyValuePair containing <code>a</code> directly from the Dictionary?<br />
  Or do I need to create a new KeyValuePair: <code>new KeyValuePair&lt;A, B&gt;(a, dict[a])</code>?</p>