Answer Posted / 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 View All Answers
Why is hashset faster?
Can datetime be null c#?
Does c# support multiple inheritance (mi)?
Distinguish between finally and finalize blocks?
Can an array be null c#?
How many destructors can a class have?
What is binary search tree in data structure?
What is the data provider name to connect to access database?
Explain About stateless and state full web service
What is expression tree with example?
Why do we need delegates in c#?
Why can't we use a static class instead of singleton?
Why is c# a good programming language?
What do you mean by casting a data type?
What are value types and reference types?