Quiz on Lambda Expressions

Evaluate yourself on what you have learned about Func, Action, and lambda expressions.

1

Which of the following is the correct declaration for this method: public bool IsHorror(Movie movie)?

A)

Func<Movie, bool>

B)

Action<Movie, bool>

C)

Func<bool, Movie>

D)

Action<bool, Movie>

Question 1 of 30 attempted

Get hands-on with 1000+ tech skills courses.