Answers for "make string from list of chars c#"

C#
2

making a list of chars in c#

string data = "ABCDEFGHIJ1fFJKAL";
List<char> datalist = new List<char>();
datalist.AddRange(data);
Posted by: Guest on May-31-2020
0

how to turn a string in a char list c#

string sentence = "Mahesh Chand";  
char[] charArr = sentence.ToCharArray();  
foreach (char ch in charArr)  
{  
    Console.WriteLine(ch);  
}
Posted by: Guest on May-31-2020

Code answers related to "make string from list of chars c#"

C# Answers by Framework

Browse Popular Code Answers by Language