Delegates, Lambdas, Action, Func, Anonymous Functions

后端 未结 3 1072
孤街浪徒
孤街浪徒 2021-01-03 02:53

I just want to verify my understanding about the following

  • Delegate - a method signature
  • Lambdas - anonymous functi
3条回答
  •  一向
    一向 (楼主)
    2021-01-03 03:20

    Action and Func are just special cases of the Delegate. Delegate itself is something that references a method and can be used to call it.

提交回复
热议问题