Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I need to find an integer element in this 2d list and modify it.
It's a list like this: List>
Not tested: list is List<List<int>>
foreach(List<int> list2 in list) { int index = list2.IndexOf(value); if(index != -1) { list2[index] = newvalue; break; } }
Loop through the outer list, for every list loop through the inner list and look for the item.
--- single minded; short sighted; long gone;