What collection type would I use in C# for an array where the indexes are non-consecutive (but are only added in ascending order), and I need access both by index and by place (e.g. "consecutive index")?
For example, if I add the objects A, B and C with indexes 2, 4 and 7, I need to access by index (2/4/7) or by place (1/2/3 or 0/1/2 both work).