Passing delegate function with extra parameters
问题 I have a delegate which looks like the following: public delegate bool ApprovalPrompt(ApprovalType type, int receipt, params string[] info); I accept a delegate of this type as a parameter to the function I want to call. However, in one particular calling function, I want to pass some extra data to the function which matches this delegate. Here's the signature of the implementing function: private static bool LogApprovalNeeded(FraudFilterUtilities.ApprovalType type, int receipt, params string