title: How to assign value in two dimensional array
body: <p>How to assign value in two dimensional array in c#</p>
  
  <p>My Code is </p>
  
  <pre><code>int[,] matarix = new int[4, 5];
  
          for (int x = 0; x &lt; 4; x++)
          {
              for (int y = 0; y &lt; 5; y++)
              {
                  matarix[x, y] = x+"-"+y;
              }
          }
  </code></pre>
  
  <p>i tried above code but its showing error "can't implicitly convert string to int" 
  How to do it ? Thanks</p>