title: Use of unassigned local variable, how do i initialize the array
body: <p>I have a little problem with my code here :</p>
  
  <pre><code>using static System.Math;
  using static System.Convert;
  
  namespace ConsoleApplication1
  {
      class Program
      {
          static void Main()
          {
              int[,] matrice;
              for (int i = 1; i &lt;= 5; ++i)
              {
                  for (int j = 1; j &lt;= 4; ++j)
                  {
                      if (i == j)
                      {
                          matrice[i, j] = ToInt32(Pow((-1), i)) + 1;
                      }
                      else if (i &gt; j)
                      {
                          matrice[i, j] = ToInt32(Pow((-1), i + j));
                      }
                      else
                      {
                          matrice[i, j] = j;
                      }
                  }
              }
          }
      }
  }
  </code></pre>
  
  <p>Do i have to initialize the array? I don't know how to do that...</p>