Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Differentiate between statement lambda and expression lambda.



Differentiate between statement lambda and expression lambda...

Answer / Nirmala Kushwah

Statement lambdas are used for single-line anonymous functions without a return keyword. They consist of a block of code enclosed within curly braces, followed by an arrow (=>) and the method to be invoked. On the other hand, expression lambdas represent a more complex, multi-line function, and they include an implicit return keyword, as well as input and output variables. Expression lambdas are useful when working with LINQ queries because they allow for easier chaining of query operations.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More LINQ Language-Integrated Query Interview Questions

List the important language extensions made in c# to make linq a reality?

1 Answers  


Why do we use linq in c#?

1 Answers  


Can we use left join in linq?

1 Answers  


What is select new linq?

1 Answers  


What is the basic syntax of a linq query in visual basic as well as in c#?

1 Answers  


What is the difference between sql and linq?

1 Answers  


What is the advantage of linq over sql?

1 Answers  


What is data context class? Explain its role?

1 Answers  


What is linqpad used for?

1 Answers  


What is linq and how when is it used?

1 Answers  


Explain what is select clause and where clause in linq?

1 Answers  


What is lambda expression in linq c#?

1 Answers  


Categories