title: Converting string into multidimensional char array c#
body: <p>this string is given : </p>
  
  <pre><code>S#####
  .....#
  #.####
  #.####
  ...#.G
  ##...#
  </code></pre>
  
  <p>and I want to convert it into a 6x6 char array.I know that I can fill the fields like this :</p>
  
  <pre><code>    charName[0,0] ='S';
      charName[0,1] ='#'; 
      charName[0,2] ='#';
      charName[0,3] ='#';
      charName[0,4] ='#';
      charName[0,5] ='#';
  </code></pre>
  
  <p>However this cost much time and I think there is a better way to do it. Thank you for any kind of help :)</p>