Administrator

Administrator

  • Tech Writer
  • 2.2k
  • 1.5m

Passing user defined methods to methods

Mar 12 2003 7:43 AM
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)