C#C
C#3y ago
Chris TCC

list that holds 2 values each

I want to have a way to store a dynamic amount of data, where each entry holds a string and an int. What is the best way to handle this?
I'm thinking along the lines of a 2d list, or if that's not possible, maybe just 2 lists where I use code to compare the values imbetween them (values stored at the same index)
Was this page helpful?