I need to store string data in memory in the form of a table, columns are fixed, but rows will be added to the end.
I guess I can use two dimensional string array string[][]
if I had known the rows in advance, but that's not the case.
I have currently created a custom class with 3 fields and stored them in a list, but I realise it not very graceful solution, the data will look like this
artist-name1, album-name1, filename1
artist-name2, album-name2, filename2
artist-name3, album-name3, filename3
And so on..
Which data structure is best for this ?