What is Lambda Expression?



What is Lambda Expression?..

Answer / sameer

A lambda expression is an anonymous function that can
contain expressions and statements
Syntax: delegate int del(int i);
del myDelegate = x => x * x;
int j = myDelegate(5); //j = 25

Is This Answer Correct ?    7 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What are the types in c#?

0 Answers  


What are collections in c#?

0 Answers  


What is the difference between TypeOf, GetType and what are the uses of TypeOf, GetType.

2 Answers   Siemens, Syntel,


can we create an empty interface with no definitions? If so, how it should be called in the class?

3 Answers   IBM,


How to create events for a control? What is custom events? How to create it?

0 Answers  






What is string [] args in c#?

0 Answers  


Are arrays immutable c#?

0 Answers  


What is state c#?

0 Answers  


Explain manifest & metadata.

2 Answers   Wipro,


What is managed or unmanaged code?

0 Answers  


What is helper method in c#?

0 Answers  


What is difference between events and delegates?

0 Answers  


Categories