方法:
static void Main(string[] args)
{
char[] cs = { 'H', 'E', 'L', 'L', 'O', '!' };
string str = new string(cs);
Console.WriteLine(str);
Console.ReadKey();
}
运行结果为:HELLO!
参考文章
1. https://www.cnblogs.com/wzx-foreverstudying/p/7353097.html