.NET Predicates
YourGenericListOfInts.RemoveAll(new System.Predicate<int>( delegate(int val) { return (val == r.Index); }));
A predicate is a function that returns
true or false and can be used for example to filter your results.. For
example your .NET RemoveAll(...) function can actually do things like ...
Read more at SharpDeveloper
Comment Notification
If you would like to receive an email when updates are made to this post, please register here
Subscribe to this post's comments using
Comments