代码
byte[] bytes = new byte[] { 72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100 };
string str = Encoding.UTF8.GetString(bytes);
Console.WriteLine("字符串:");
Console.WriteLine(str);代码
byte[] bytes = new byte[] { 72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100 };
string str = Encoding.UTF8.GetString(bytes);
Console.WriteLine("字符串:");
Console.WriteLine(str);