I've looked around for a while and I can't find the answer to my question - or if it is even possible. My question is not simply how to pass a method as a parameter to a second method, but whether it is possible for the method passed to use a reference (ref) parameter.
For instance some sudo code might look like:
public double Foo(int value, ref string error)
{
...
}
public double Bar(int value, ref string error)
{
...
}
public void Main(Func<double, int, ref string> method, object[] params)
{
... Do something then call function passed in
}