i use lambda many time and i feel it is short cut for usage but how to explain or make some one understand what is lambda ?
please discuss it with a example that what it is ?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sundaram SubramanianPosted Jun 22, 2017, 5:19 AM
x < y.Sundaram SubramanianPosted Jun 22, 2017, 6:00 AM
Lambda expressions are how anonymous functions are created.
Expression Lambdas
Parameter => expression
Parameter-list => expression
Count => count + 2;
Sum => sum + 2;
n => n % 2 == 0
The lambda operator => divides a lambda expression into two parts. The left side is the input parameter and the right side is the lambda body.
Posted Jun 22, 2017, 5:51 AM