Why do we use lambda expression in c#?



Why do we use lambda expression in c#?..

Answer / Manpreet Singh Siddhu

Lambda expressions in C# allow you to write anonymous methods with a concise syntax, making it easier to create simple functions for one-time use or as arguments to other methods.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Can you allow class to be inherited, but prevent the method from being over-ridden?

1 Answers  


My switch statement works differently! Why?

1 Answers  


What is the difference between list and array in c#?

1 Answers  


Can a constructor be static in c#?

1 Answers  


What is check/uncheck?

1 Answers  


Is c and c# the same?

1 Answers  


What is the difference between cookies and session?

7 Answers   ADITI, Infinity, Infotech, VBV, Web Connect,


What is marshalling in c#?

1 Answers  


Can a struct inherit from another struct or class in c#?

1 Answers  


Is it possible to inline assembly or il in c# code?

1 Answers  


what is a enumeration in c#

1 Answers   Cognizant,


What is the difference between virtual and override in c#?

1 Answers  


Categories