0
How to fetch item from list in c#?
In c# list contain values inside the {{val1,val2}}how can I get val1 and val2 from list
4 Respuestas
+ 1
[0][0 or 1]
The first index selects an element from the list (the array in this case) second selects the element in that array (val1 or val2)
+ 1
So name[0] is a 2D array?
var vals = int[2];
vals = name[0][0][0];
0
array list name[0]has element like below
{{val1,valu2}}
i want to fetch both val1 and valu2
0
i got it