i want to multiply a character L to identity matrix in c#

Posted by vj4u on Stack Overflow See other posts from Stack Overflow or by vj4u
Published on 2010-05-31T08:28:12Z Indexed on 2010/05/31 8:32 UTC
Read the original article Hit count: 142

Filed under:
 for (int row = 0; row < SS; row++)
        {
            for (int col = 0; col < SS; col++)
            {
                    identity[row, col] = (row == col) ? 1 : 0;

                Response.Write(identity[row, col] + " ");
            }
            Response.Write("<br/>"); 
        }

now my output is 1 0 0 0 1 0 0 0 1

i want to get output as L 0 0 0 L 0 0 0 L

© Stack Overflow or respective owner

Related posts about c#