It's so simply you're going to want to kick yourself, it's also so simple
that it's going to get overlooked.
string mystring = new string(charArra y);
if you look at the overloaded constructor for the string class, you'll
notice that one of the parameters is a char array. This "should" work just
fine though I haven't toyed with it in a long time.
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
"Steve Kershaw" <st***********@ yahoo.comwrote in message
news:11******** *************@h 3g2000cwc.googl egroups.com...
>I can convert from a string to a char array (char[]) by using
string.ToCharAr ray() function. Now how do I convert it back?
The string looks like this: "000457". I've converted it to a char
array: char[] = {0, 0, 0, 4, 5, 7}. Now I need to convert it back to a
string.
Thanks in advance for your help.
Steve