This code works fine on wpf.
In my code list1 will work but if convert a string to a list of char and change again to string it showing error of : can't convert from char[] to string []. need suggestion.
here's the code :
string x = "hello";
List<char> list = x.ToList<char>();
//error
string combindedString = string.Join(",", list.ToArray());
string xz = string.Join("", list);
//---
//okay....
List<string> list1 = new List<string>()
{
"Red",
"Blue",
"Green"
};
string output = string.Join("", list1.ToArray());
in wpf: