数组在lable中的显示
我的数组是一个装有ASCII码的一维数组(ASCII对应的有数字也有大写字符)。要怎么样才能让这个数组显示到lable的text上呢?
------解决方案--------------------您可以构建一个字符串,把数组内容依次加到字符串中,在Label中显示。
------解决方案--------------------string[] s ={  "A ", "B ", "1 ", "a ", "asd "}; 
         string str1=string.Empty; 
         for (int i = 0; i  < s.Length; i++) 
         { 
             str1 += s[i]+ "| "; 
         } 
 str1就是了