There is a Dereviative class in which I want to make an array length check, which is a function argument. Delegate Announcement in Dereviative Class:
public delegate double functionToDereviate(double[] x);
Then I want to use this delegate as an argument to the static function of the Dereviative class:
public static double takeDereviative( functionToDereviate func, double[] argumentForFunc, int argumentForDereviation, double step)
and in this method I want to check the length of the array x
I'm stuck on this:
func.Method.GetParameters()[0].ParameterType.
And where to dig further?