We use lambda expression to create anonymous functions
- We use the lambda declaration operator => to seperate lambda's parameter list from its body
Expression Lambda
x => x == 5;
Statement Lambda
x => { return x == 5; }
We use lambda expression to create anonymous functions
Comments
Post a Comment