数组转换问题,怎么把[a,b,c,d,e]转成{"a","b","c","d","e"}呢??
[a,b,c,d,e]转成String[]stringArray={"a","b","c","d","e"};...
[a,b,c,d,e] 转成String[] string Array={"a","b","c","d","e"};
展开
1个回答
2016-07-22
展开全部
a,b,c,d,e这么写不应该是变量吗?
还是说你想吧
'a','b'...变成字符串?
char a = 'a';
stra = a.ToString();
还是说你想吧
'a','b'...变成字符串?
char a = 'a';
stra = a.ToString();
更多追问追答
追问
是想把a,b,c,d,e弄成"a","b","c","d","e"
追答
变量名变字符串?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询