C#. Passing Function As Parameter Using Delegate

I need a generic C# module that will execute different functions for some classes, or execute none. This can be done with delegates.

The basic info is described in MSDN articles:
Using Delegates (C# Programming Guide)
Func<T, TResult> Delegate

Here is my simple console application that would call different functions that are passed as parameters.


2 Replies to “C#. Passing Function As Parameter Using Delegate”

Leave a Reply

Your email address will not be published. Required fields are marked *