title: How to loop through this dictionary
body: <p>I have declared a dictionary like this:</p>
  
  <pre><code>Dictionary&lt;string, KeyValuePair&lt;string, string&gt;&gt; dc = new Dictionary&lt;string, KeyValuePair&lt;string, string&gt;&gt;();
  </code></pre>
  
  <p>now how can I loop through it? I wanted something like the following so I created that dictionary:</p>
  
  <p>name1
  oldValue1
  newValue1</p>
  
  <p>name2
  oldValue2
  newValue2</p>
  
  <p>...</p>