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 cshtml file?
What is foreach loop in c#?
hi my question is about understanding a text the user entered to a site , so i want to analyse that text looking for some specific items such as "honda" "shoffere" etc.. so if this site could help or could tell me where to go with such question ,i wonder. thanks
What is a lambda expression in c#?
What is void method?
What is boxing and unboxing in c#?
Why do we use public static void main in c#?
There were a lot of questions asked, so I will list the topic (and add a what is "topic" and know pros/cons). Extreme programming, what is a transaction, various SDLC design approaches, what is a namespace, define a good test case, what is a stored proc, webservice? design patterns? linker? compiler? access modifiers? stack vs. queue? arrays vs. linked lists? sorting algorithms? recursion? OOP principles?
Why do we use void in c#?
What is the compiler of c#?
what is difference between is and as operators in c#?
What is hashmap in c#?
What are the advantages of using delegates in c#?
Why is c# used?
Can an abstract class have a constructor c#?