How to loop through all but the last item of a list?
32689
Iterate over all pairs of consecutive items in a list
84239
How do I loop through items in a list box and then remove those item?
13462
Remove all occurrences of a value from a list?
56152
How to take all but the last element in a sequence using LINQ?
54981
How to iterate over a comma separated list?
147236
How to select sub-lists having at least one element that matches a pattern
93055
What's the best way to loop through a set of elements in JavaScript?
101729
What's the best way to get the last N elements of a Perl array?
137121
Why is list.remove only removing every second item?
115314
How do you efficiently return all of a List but one element?
99925
Looping through array and removing items, without breaking for loop
55589
How to remove elements from a generic list while iterating over it?
82332
How to access the previous/next element in a for loop?
108763
How to get the last value of an ArrayList
96261
What is the best way to scan over a list of somethings?
45413
How can I get every nth item from a List?
35004
Getting the index of the returned max or min item using max()/min() on a list