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 is different about switch statements in c#?

0 Answers  


Difference between Value type & reference types ? and give the example in .Net?

0 Answers  


What is difference between for and foreach in c#?

0 Answers  


What is the data encapsulation?

0 Answers  


What is the difference between dynamic and var in c#?

0 Answers  






What does the keyword “virtual” declare for a method or property?

0 Answers   Siebel,


Why is it called c sharp?

0 Answers  


What is asynchronous one-way calls?

0 Answers  


Tell me the difference between value passing and address passing?

0 Answers   NIIT,


What are the basics of c#?

0 Answers  


What is datetime parse in c#?

0 Answers  


What are properties in C#?

0 Answers   UGC Corporation,


Categories