Closed GoogleCodeExporter closed 8 years ago
This is already covered by the standard query operator Where that is part of
LINQ. For example:
// Remove all odd numbers
var nums = Enumerable.Range(1, 100)
var evens = nums.Where(n => n % 2 != 0);
Original comment by azizatif
on 20 Jan 2011 at 8:13
Apart from being redundant and badly implemented ( O(n) in memory, O(n^2) in
time and eagerly evaluating), it doesn't match the behavior of
List<T>.RemoveAll(...) making it actively dangerous.
Original comment by CodeInCh...@quantentunnel.de
on 2 Mar 2011 at 9:18
Original issue reported on code.google.com by
jal...@gmail.com
on 14 Jan 2011 at 9:04