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 |
What are the types in c#?
What are collections in c#?
What is the difference between TypeOf, GetType and what are the uses of TypeOf, GetType.
can we create an empty interface with no definitions? If so, how it should be called in the class?
How to create events for a control? What is custom events? How to create it?
What is string [] args in c#?
Are arrays immutable c#?
What is state c#?
Explain manifest & metadata.
What is managed or unmanaged code?
What is helper method in c#?
What is difference between events and delegates?