var chars = new[] { 'a', 'b', 'c', 'd' }; var str = new string(chars);
string s = new string(chars);
char[] chars = { 'a', 'b', 'c', 'd' }; string[] str = new string[chars.Length]; for (int i = 0; i < chars.Length; i++) { str[i] = chars[i].ToString(); Console.WriteLine(str[i]); } Console.ReadLine();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)