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 sql transaction in c#?

1 Answers  


What is the difference between list and arraylist c#?

1 Answers  


What is Implementation inheritance and interface inheritance?

1 Answers  


What does immutable mean in c#?

1 Answers  


What is class sortedlist underneath?

1 Answers  


Explain the working of serialization?

1 Answers  


Is Multiple-inheritance supported by c#?

1 Answers   Siebel,


What is difference between out and ref in c#?

1 Answers  


What are the advantages of constructor?

1 Answers  


Explain About delegates

1 Answers   TCS,


What is a decimal c#?

1 Answers  


can we declare a variable by name "this" in a class? Please explain?

3 Answers   IBM,


Categories