title: Get Dictionary item as KeyValuePair
body: <p>For me it seems to be obvious that a dictionary might have a method for getting it's item by <code>Key</code>. Either I am blind, or...
  However, I have following situation:</p>
  <p>A need a <code>Dictionary(Of Integer, k/v)</code>. I have the <code>k/v</code>'s already in a <code>Dictionary</code> and I'd like to add them to my new one by <code>Key</code>, such as:</p>
  <pre><code>'Dict1 has {(&quot;Key1&quot;, 123), (&quot;Key2&quot;, 345)}
  Dim dict2 As New Dictionary (Of Integer, KeyValuePair(Of String, Double))
  dict2.Add(0,***dict1.GetItem(&quot;Key1&quot;)***)
  </code></pre>
  <p>Sure I could write an extension, and probably I'll have to, but is it only me missing this function?
  If there was a built in way I've overseen, please point me there!</p>
  <p>Thanks in advance,</p>
  <p>Daniel</p>
  <hr />
  <p>EDIT:</p>
  <pre><code>dict1 = {(0, &quot;apples&quot;), (1, &quot;oranges&quot;), (2, &quot;bananas&quot;)}
  dict2 = {(&quot;oranges&quot;, 456), (&quot;apples&quot;, 123), (&quot;bananas&quot;, 789)}
  </code></pre>
  <p>the new dictionary is a sorted <code>dict2</code> by <code>dict1</code>:</p>
  <pre><code>dictnew = {(&quot;apples&quot;, 123), (&quot;oranges&quot;, 456), (&quot;bananas&quot;, 789)}
  </code></pre>
  <p>So my approach was:</p>
  <pre><code>dicttemp = {(0, (&quot;apples&quot;, 123)), (1, (&quot;oranges&quot;, 456)), (2, (&quot;bananas&quot;, 789))}'. `dicttemp` is a `SortedDictionary`.
  </code></pre>
  <p>Next I get the values of <code>dicttemp</code> and transform them into a <code>Dictionary</code>.</p>