double[] _un_IRR = new double[Convert.ToInt32(lblCashfw_col.Text) - 1];
Double Guess = 0.0;
Label lbl_Before_tax = (Label)this.PlaceHolder1.FindControl("TextBoxRow_Cashflow_23Col_" + j);
Label lbl_Unlr_IRR = (Label)this.PlaceHolder1.FindControl("TextBoxRow_Cashflow_24Col_0");
_un_IRR[j] = Convert.ToDouble(lbl_Before_tax.Text);
lbl_Unlr_IRR.Text = (Microsoft.VisualBasic.Financial.IRR(ref _un_IRR, Guess)).ToString();
...............................
in above code , when the code comes over last line the following error is displayed ......
if dont use the ref keyword the following error is shown,
Argument '1' must be passed with the 'ref' keyword
if i add ref keyword, i am getting following error
Arguments are not valid.
..
so how to use ref double[ ] in Microsoft.VisualBasic.Financial.IRR