binod km

binod km

  • NA
  • 5
  • 5.4k

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

Oct 23 2012 6:43 AM

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)