Passing a Lambda Expression as a Parameter to a Method
suggest changeList<int> l2 = l1.FindAll(x => x > 6);
Here x => x > 6
is a lambda expression acting as a predicate that makes sure that only elements above 6 are returned.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents