How can I convert array into string object

  • Thread starter Thread starter to_rgoyal
  • Start date Start date
T

to_rgoyal

Hi All,
I want to convert array into string. That is, I have one character
array with number of characters like :
arr[0]='0'
arr[1]='5'
arr[2]='/'
arr[3]='1'
arr[4]='2'
arr[5]='/'
arr[6]='2'
arr[7]='0'
arr[8]='0'
arr[9]='5'

Iwant to store these values into string object. So that it become :
String str="05/12/2005";

How can I do that? I tried with

string date=arr.ToString();

But it doesn't work. Please help me.
 
Hi,

Easier than that, string s = new String ( arr );


cheers,
 
Back
Top