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
Can a static class contain non static members?
Is visual c# free?
What are delegates in C#?
What is CLR and its application.?
Explain the types of comments in c#?
Is c# used for any core features of windows vista?
Explain attributes in c#?
Is c# a keyword?
What is the difference between writeline and write in c#?
What is the meaning of extention?
What is difference between overloading and short circuiting?
Are enums static c#?
What is the difference between hashtable and dictionary?
What is the difference between arraylist and list in c#?
What exactly happens when we debug and build the program?