@Ronald Rex , Welcome to Microsoft Q&A,
If you want to return one result with zero, one or more input parameters, you could use Func Delegate.
If you don't want to return result with zero, one or more input parameters, you could use Action Delegate.
If you want to return a bool type result with zero, one or more input parameters, you could use Predicate Delegate.
You could refer to the following links to know more about it.
Func vs. Action vs. Predicate
Delegates: Predicate vs. Action vs. Func
Best Regards,
Jack
If the answer is the right solution, please click "Accept Answer" and upvote it.If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.