Func`5 Delegate

Encapsulates a method that has four parameters and returns a value of the type specified by the TResult parameter.
T1
The type of the first parameter of the method that this delegate encapsulates.
T2
The type of the second parameter of the method that this delegate encapsulates.
T3
The type of the third parameter of the method that this delegate encapsulates.
T4
The type of the fourth parameter of the method that this delegate encapsulates.
TResult
The type of the return value of the method that this delegate encapsulates.