<p>I have a 2 dimensional array, like so:</p>

<pre><code>char[,] str = new char[2,50];
</code></pre>

<p>Now, after I've stored contents in both str[0] and str[1], how do I store it in a </p>

<pre><code>string[] s = new string[2];
</code></pre>

<p>?</p>

<p>I tried </p>

<pre><code>s[0] = str[0].ToString();
</code></pre>

<p>but that seems to be an error: VC# expects 'two' indices within the braces, which means I can convert only a character from the array. Is there a way to convert the entire str[0] to a string? Or is changing it to a jagged array the only solution?</p>

Assuming the dimensions are fixed as 2x50:
```
```
char[,] str = new char[2,50];

// populate str somehow

// chose which of the strings we want (the 'row' index)
int strIndex = 0;
// create a temporary array (faster and less wasteful than using a StringBuilder)
char[] chars = new chars[50];
for (int i = 0; i < 50; i++)
  chars[i] = str[strIndex, i];
string s = new string[chars];
```
```
This would be easier and more performant if you used a jagged array:
```
```
char[][] str = new char[2][];
```
```
Then you could write:
```
```
string s = new string(characters[0]);
```
```