Winforms 如何将无符号字符数组转换为字符串

Winforms 如何将无符号字符数组转换为字符串,winforms,visual-c++,Winforms,Visual C++,如何将下面的无符号字符转换为字符串: 正在失败并生成以下错误消息: System::BitConverter::ToString none of the 4 overloads could convert all the argument types 使用无符号字符而不是常规有符号字符有什么具体原因吗?否则,您可以始终对编译器gcnew Stringchar*数据进行强制转换和撒谎;我得到了一个示例源代码并进行了修复。在你来之前我不知道“不唱歌” unsigned char data[128]

如何将下面的无符号字符转换为字符串:

正在失败并生成以下错误消息:

System::BitConverter::ToString
none of the 4 overloads could convert all the argument types

使用无符号字符而不是常规有符号字符有什么具体原因吗?否则,您可以始终对编译器gcnew Stringchar*数据进行强制转换和撒谎;我得到了一个示例源代码并进行了修复。在你来之前我不知道“不唱歌”
unsigned char data[128];

textbox1->Text = BitConverter::ToString(data);
System::BitConverter::ToString
none of the 4 overloads could convert all the argument types