S
Schizoid Man
Hi,
I am having trouble rewriting the following C# code in VB:
// delegate declaration
public delegate double FX(double x);
//delegate usage
FX f = delegate(double x)
{
.... code...
return answer;
};
The delegate declaration looks like:
Public Delegate Function FX(ByVal x As Double) As Double
However I'm uncertain on how to rewrite the code bit. I'd appreciate any
pointers.
Thanks,
Schiz
I am having trouble rewriting the following C# code in VB:
// delegate declaration
public delegate double FX(double x);
//delegate usage
FX f = delegate(double x)
{
.... code...
return answer;
};
The delegate declaration looks like:
Public Delegate Function FX(ByVal x As Double) As Double
However I'm uncertain on how to rewrite the code bit. I'd appreciate any
pointers.
Thanks,
Schiz