Stats

70 Contributors: 2
2016-08-14
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook

Func delegates

Download c# eBook

Syntax

  • 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)

Parameters

ParameterDetails
arg or arg1the (first) parameter of the method
arg2the second parameter of the method
arg3the third parameter of the method
arg4the fourth parameter of the method
T or T1the type of the (first) parameter of the method
T2the type of the second parameter of the method
T3the type of the third parameter of the method
T4the type of the fourth parameter of the method
TResultthe return type of the method

Related Examples