In an object of type List<T>, does accessing an object by index run through each item in the list, or does it use a much faster approach?
<p>For example:</p>

<pre><code>List&lt;MyClass&gt; myList = new List&lt;MyClass&gt;();
...
// add lots of members...
...
MyClass myClass = myList[25];
</code></pre>

<p>Will asking for index 25 take much longer than asking for index 1, or does it use some quick algorithm to jump straight to the 25th item?</p>

<p>Thanks!</p>
