3
Answers

Passing user defined methods to methods

Ask a question
Administrator

Administrator

21y
1.5k
1
In my class library I have methods that need to work on methods defined by the user. For example, I have a method M() in my library which needs a function "double f(double x)" this function f() has to be defined by the user. In fact different users will have different f()'s. In C you an pass this in the parameter list. What is the best way to do this in C#?

Answers (3)