I'd like to set up a multidimensional list. For reference, I am working on a playlist analyzer.
I have a file/file-list, which my program saves in a standard list. One line from the file in each list entry.
I then analyze the list with regular-expressions to find specific lines. Some of the data/results from the lines needs to be put into a new multidimensional list; since I don't know how many results/data I'll end up with, I can't use a multidimensional array.
Here is the data I want to insert:
List
(
    [0] => List
        (
            [0] => Track ID
            [1] => Name
            [2] => Artist
            [3] => Album
            [4] => Play Count
            [5] => Skip Count
        )
    [1] => List
        (
And so on....
Real Example:
List
(
    [0] => List
        (
            [0] => 2349
            [1] => The Prime Time of Your Life
            [2] => Daft Punk
            [3] => Human After All
            [4] => 3
            [5] => 2
        )
    [1] => List
        (
So yeah, mlist[0][0] would get TrackID from song 1, mlist[1][0] from song 2 etc.
But I am having huge issues creating a multidimensional list. So far I have come up with
List<List<string>> matrix = new List<List<string>>();
But I haven't really had much more progress :(
 
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
    