Given
IList indexes; ICollection collection;
What is the most elegant way to extract all T in
It seems that the most efficient way would be to use a Dictionary instead of a Collection. You can still keep a list of indexes you want to use in the IList.
Dictionary
Collection
IList