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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Sundaram SubramanianRank #150 · 15.2K reputationPosted Jun 22, 2017, 1:19 AM EDT
x < y.Posted Jun 22, 2017, 1:51 AM EDT
Sundaram SubramanianRank #150 · 15.2K reputationPosted Jun 22, 2017, 2:00 AM EDT
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.