I'm a beginner with c#, I have a csv file of integer data with 140 rows and every row has different number of columns csv file looks like this:
1,1,2,2,3
1,2,2,2,4,4,4,4
6,7
how can i load every row into a new array using a loop which has similar action like
int[][] inputSequences = {
new[] { 1, 1, 2, 2, 3 },
new[] { 1, 2, 2, 2, 4, 4, 4, 4 },
new[] { 6, 7 },
}
Aucun commentaire:
Enregistrer un commentaire