c# im getting an error

Posted by vj4u on Stack Overflow See other posts from Stack Overflow or by vj4u
Published on 2010-05-28T05:34:42Z Indexed on 2010/05/28 5:41 UTC
Read the original article Hit count: 193

Filed under:
double dval = 1;

for (int i = 0; i < Cols; i++)

 {


        k = 0;
        dval = 1;
        for (int j = Cols - 1; j >= 0; j--)
        {
            colIndex = (i + j) % 3;
            val *= dval[colIndex, k];
            k++;
        }
        det -= dval;
    }

im getting an error

Cannot apply indexing with [] to an expression of type 'double' for dval help its urgent

© Stack Overflow or respective owner

Related posts about c#