Delegates, Lambdas, Action, Func, Anonymous Functions
问题 I just want to verify my understanding about the following Delegate - a method signature Lambdas - anonymous function Anonymous Function - just that Action - An anonymous function that returns nothing Func - An anonymous function that returns something hmm... they all do similar things, how do you define & know when to use each? sorry, I don't explain well 回答1: Delegate - it is not a method signature. It is a type which encapsulates a method . Hence a delegate declaration should have a