Answers for "convert string to char c#"

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 "Java"

Java Answers by Framework

Browse Popular Code Answers by Language