I’m looking for the ideal collection to use in my current situation.
All I need is a List<string> which can allow two entries for each index. Similar to a Dictionary, however I do not need keys and values, and would like to iterate through it by index. The best collection I can think of is a multi-dimension array, however I would like to specify that two items can be stored in each element, however the amount of elements can be infinite.
Which collection should I use?
EDIT: Also, I thought of using a List<List<string>>, however since I only need two elements for each index, I think storing a list in each index position of the list would be a waste.
You can use
TupleCheck this: Tuple (Class)