title: Is one of these for loops faster than the other?
body: <pre><code>for (var keyValue = 0; keyValue &lt; dwhSessionDto.KeyValues.Count; keyValue++)
  {...}
  
  
  var count = dwhSessionDto.KeyValues.Count;
  for (var keyValue = 0; keyValue &lt; count; keyValue++)
  {...}
  </code></pre>
  
  <p>I know there's a difference between the two, but is one of them faster than the other? I would think the second is faster.</p>