Hi
Can any one tell how can i assign character array to string array....Like
char[] ch = {'A','B','C'};
string[] arr = ch;
for (int i = 0; i < ch.Length; i++)
{
Console.WriteLine(ch[i]);
}
Hi
Can any one tell how can i assign character array to string array....Like
char[] ch = {'A','B','C'};
string[] arr = ch;
for (int i = 0; i < ch.Length; i++)
{
Console.WriteLine(ch[i]);
}
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Feb 23, 2012, 6:36 AM