Answer Posted / andro
Lambda expression is an inline delegate introduced with C #
3.0 language. It’s a concise way to represent an anonymous
method. It provides a syntax to create and invoke
functions. Although Lambda expressions are simpler to use
than anonymous methods, they do slightly differ on how they
are implemented. Both anonymous methods and Lambda
expressions allow you define the method implementation
inline, however, an anonymous method explicitly requires
you to define the parameter types and the return type for a
method. Lambda expression uses the type inference feature
of C# 3.0 which allows the compiler to infer the type of
the variable based on the context.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is a Managed Code??
What is the difference between protected and private?
What is jagged array in c#?
What is form feed in c#?
What is the delegate in c#?
How do generics work in c#?
Give examples for reference types?
What is a shared assembly?
What is an array of arrays called?
How do I create a multi language, multi file assembly?
What is the difference between Singleton design pattern and Factory design pattern?
What is addressof operator?
Can abstract classes be final?
What is deadly diamond problem?
How objects are stored in memory?