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

What is the difference between single and first in linq?

1 Answers  


What are advantages of LINQ?

1 Answers  


Elaborate the plinq?

1 Answers  


Why we use ienumerable in linq?

1 Answers  


What are the advantages of using linq in dataset?

1 Answers  


What is the use of System.Data.DLinq.dll?

1 Answers  


What is linq syntax in c#?

1 Answers  


Explain linq lambda expression with example?

1 Answers  


What are Quantifiers?

1 Answers  


What is the difference between linq to sql and entity framework?

1 Answers  


What are linq extension methods?

1 Answers  


How to use Having in LINQ?

1 Answers  


Categories