what is lambda expression in linq?

my question is from asp.net

0 63 Views | Posted 2012-01-08 23:55:03

  • 1 Answer

  • Shiksha Ask & Answer

    Answered by

    Suryap2012 | Guide-Level 11

    2012-01-08 23:58:32
    Lambdas are used in method-based LINQ queries as arguments to standard query operator methods such as Where.
    When you use method-based syntax to call the Where method in the Enumerable class (as you do in LINQ to Objects and LINQ to XML) the parameter is a delegate type System.Func(Of T, TResult). A lambda expression is the most convenient way to create that delegate. When you call the same method in, for example, the System.Linq.Queryable class (as you do in LINQ to SQL) then the parameter type is an System.Linq. Expressions.Expression where Func is any Func delegates with up to sixteen input parameters. Again, a lambda expression is j
    ...more

Get authentic answers from experts, students and alumni that you won't find anywhere else

Sign Up on Shiksha

On Shiksha, get access to

  • 65k Colleges
  • 1.1k Exams
  • 666k Reviews
  • 1600k Answers

Share Your College Life Experience

Didn't find the answer you were looking for?

Search from Shiksha's 1 lakh+ Topics

or

Ask Current Students, Alumni & our Experts

×
×

This website uses Cookies and related technologies for the site to function correctly and securely, improve & personalise your browsing experience, analyse traffic, and support our marketing efforts and serve the Core Purpose. By continuing to browse the site, you agree to Privacy Policy and Cookie Policy.

Need guidance on career and education? Ask our experts

Characters 0/140

The Answer must contain atleast 20 characters.

Add more details

Characters 0/300

The Answer must contain atleast 20 characters.

Keep it short & simple. Type complete word. Avoid abusive language. Next

Your Question

Edit

Add relevant tags to get quick responses. Cancel Post