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
What is dapper in c#?
What is super class in c#?
Can c# inherit multiple classes?
What is the difference between Static, Const and read only?
What are the types of constructors?
What are native functions?
What is immutable in C#?
What is a method c#?
What is as keyword in c#?
What is the difference between int and int in c#?
If casting fails what type of exception is thrown?
What's the difference between a static method and a non static method c#?
Explain the difference between arraylist and array and in c#?
What does void do in c#?
Explain the difference between “as” and “is” operators used in c#?