title: IndexOf too slow on list. Faster solution?
body: <p>I have generic list which must be a preserved order so I can retrieve the index of an object in the list. The problem is IndexOf is way too slow. If I comment the IndexOf out, the code runs fast as can be. Is there a better way, such as a <em>preserved</em> ordered hash list for c#?</p>
  
  <p>Thanks,
  Nate</p>
  
  <ul>
  <li>Edit -
  The order in which the items are added/inserted is the order it needs to be. No sorting on them is necessary. Also this list has the potential to be updated often, add, remove, insert. Basically I need to translate the object to an index due to them being represented in a grid control so I can perform operations on the grid control based on index.</li>
  </ul>