Func delegates
suggest changeSyntax
public delegate TResult Func<out TResult>()public delegate TResult Func<in T, out TResult>(T arg)public delegate TResult Func<in T1, in T2, out TResult>(T1 arg1, T2 arg2)public delegate TResult Func<in T1, in T2, in T3, out TResult>(T1 arg1, T2 arg2, T3 arg3)public delegate TResult Func<in T1, in T2, in T3, in T4, out TResult>(T1 arg1, T2 arg2, T3 arg3, T4 arg4)
Further overloads accept up to 16 input arguments.
Parameters
| Parameter | Details |
|---|---|
arg or arg1 |
the first parameter of the method |
arg2 |
the second parameter of the method |
arg3 |
the third parameter of the method |
arg4 |
the fourth parameter of the method |
T or T1 |
the type of the first parameter of the method |
T2 |
the type of the second parameter of the method |
T3 |
the type of the third parameter of the method |
T4 |
the type of the fourth parameter of the method |
TResult |
the return type of the method |
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents