Func vs. Action vs. Predicate [duplicate]

With real examples and their use, can someone please help me understand:

  1. When do we need a Func<T, ..> delegate?
  2. When do we need an Action<T> delegate?
  3. When do we need a Predicate<T> delegate?

3 s
3

Leave a Comment