title: i want to find determinant of 4x4 matrix in c#
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2922690/calculate-nxn-matrix-determinant-c">Calculating an NxN matrix determinant in C#</a>  </p>
  </blockquote>
  
  
  
  <p>i want to find determinant of 4x4 matrix in c# </p>
  
  <pre><code>    int ss = 4; int count = 0;
      int[,] matrix=new int[ss,ss];
      ArrayList al = new ArrayList() {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16 };
      for (int i = 0; i &lt; ss; i++)
      {
          for (int j = 0; j &lt; ss; j++)
          {
              matrix[i, j] =Convert.ToInt32( al[count]);
              ++count;
              Response.Write(matrix[i, j] + " ");
          }
          Response.Write("&lt;br/&gt;");
      }
  </code></pre>