Hallo community,
is there a way to start indeces with 1 and not with the 0?
Thanks in advance
Hallo community,
is there a way to start indeces with 1 and not with the 0?
Thanks in advance
Yes:
for (var i = 1; i <= list.Count; i++)
{
var item = list[i-1];
}
// Rolf
many thanks mr RIL