Each input parameter in lambda implicitly convertible to corresponding delegate parameter - LINQ

Q.  Choose the correct one.
- Published on 31 Aug 15

a. The return value of the lambda (if any) must be explicitly convertible to the delegate's return type
b. Each input parameter in the lambda must be implicitly convertible to its corresponding delegate parameter.
c. Lamda expression does not work with LINQ.
d. None of the above

ANSWER: Each input parameter in the lambda must be implicitly convertible to its corresponding delegate parameter.
 
Each input parameter in the lambda must be implicitly convertible to its corresponding delegate parameter because A delegate can refer only those methods that have same signature as delegate.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)