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
How can you set image source dynamically from c# application to ”test.png” file?
What does console readline do?
What are the steps to make an assembly to public?
how to sort an array in c#
How do I register my code for use by classic com clients?
What are virtual destructors?
How can you write a class to restrict that only one object of this class can be created (Singleton class)?
Which are access modifiers available in c#?
Why we use get set in c#?
Name the property of the textbox which cannot be changed at runtime?
Can you use all access modifiers for all types?
What is thread and explain states of a thread in c#?
How do you define a predicate?
What is c# in asp net?
What are custom exceptions? Why do we need them?