Func vs. Action vs. Predicate [duplicate]

The difference between Func and Action is simply whether you want the delegate to return a value (use Func) or not (use Action). Func is probably most commonly used in LINQ – for example in projections: or filtering: or key selection: Action is more commonly used for things like List<T>.ForEach: execute the given action for … Read more