Click here

Lambda Expression

Lambda Expressions are based on function programming; they have been added to .NET. A Lambda Expression is essentially a very compressed function often
 used where a delegate would be used, and they have a precise syntax, which is roughly: 

Function(arg1, arg2...argn) expression

You can explicitly type the parameters — that is, provide the argument types or leave them unspecified and the compiler will figure it out. The expression part is a statement such as a + b, or s.Length. The Return keyword is implicit.

See also "Exploring Lambda Expression Trees" on Developer.com.



Top Terms

Connect with Webopedia

  • The Difference Between Adware & Spyware

    Not technically fitting into either the virus or spam category we have spyware and adware, which are growing concerns for Internet users.

    Read More »

Did You Know? Archive »

  • Quick Reference Archive »