Quote:
public static GetRandomGaussian(double mean,double stddev)
{
double rval1,rval2;
GetRandomGaussian(mean,stddev,out rval1,out val2);
return rval1;
return rval2;
}
What are you trying to do?
First, a method must have a return type (mark it as
void
, if nothing should be returned). Then you are trying to call a not existing overload of
GetRandomGaussian
, taking four arguments.
Finally you are using two sequential return statemets, the latter having NO effect.
What is your target? could you please describe it exactly?