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.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
VulpesRank #55 · 29.2K reputationPosted Feb 23, 2012, 1:36 AM EST