3
Answers

how to save/convert a row in a 2D char array to a string??

binod km

binod km

12y
2.8k
1

hey i have a 2D char array x[5,5]. now i have to convert each row into a string for some manipulation. i have tried this one but returned errors.

for (int i = 0; i < 5;i++ )
 {
  string str= new string( x[i, j] );

}

thanks


Answers (3)