title: How to iterate over this particular type of Dictionary<int, Result>?
body: <p>I have a bunch of results from the Database that I keep in a <code>Dictionary&lt;int, Result&gt;()</code>.</p>
  
  <p>The Result class I have is:</p>
  
  <pre><code>public int Id { get; set; }
  public string something { get; set; }
  public string somethingtwo { get; set; }
  public string somethingthree { get; set; }
  public DateTime Posted { get; set; }
  public string Location { get; set; }
  public bool somethingfour { get; set; }
  </code></pre>
  
  <p>So, the <code>Dictionary&lt;int, Result&gt;</code> has many Results inside and I'd like to iterate over them. How an I do this? I've tried a few ways, but even I knew they wouldn't work.</p>
  
  <p>I would like to do something like this:</p>
  
  <pre><code>foreach(var result in resultDict)
  {
     mynewstring = result.Location;
     mynewstringtwo = result.Posted;
     // etc etc.
  }
  </code></pre>