Passing a Lambda Expression as a Parameter to C# with Example



Passing a Lambda Expression as a Parameter to C# with Example

a Method 
List 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. 

0 Comment's

Comment Form