📜  如何在char列表中转换字符串c#代码示例

📅  最后修改于: 2022-03-11 14:48:54.801000             🧑  作者: Mango

代码示例4
string str= "hello";
List listString = str.ToList();
//Display the list
listString.ForEach(s=> Console.WriteLine(s));
//or
Console.WriteLine(listString);