C# 数组转字符串

                //数据处理
                result = "";
                foreach (int i in ResultV)//数字转字符串
                {
                    char x = (char)i;
                    result += x;
                }
                result = result.Replace("\0", "");
                result = result.Trim();//去除多余空格
ResultV为32位short数组,
result 为string类型;

posted @ 2021-12-29 19:32  Cmale  阅读(587)  评论(0编辑  收藏  举报