Difference between List<int> and Dictionary<int, int>? : <p>Why would anyone ever use a dictionary with two integers?</p>

<p>It seems to me like this would just create an indexed collection of integers, where the "key" is the integer index and the "value" is the integer. </p>

<p>Or, in other words, it would be the same as a list of integers.</p>

<p>Now, I suppose having a dictionary allows you to set custom integer keys, so for example you could have pairs like (1,2) (7,3), etc. but this still doesn't make much sense. But when would it actually be practical/useful to use a dictionary as opposed to List?</p>
