数组转换字符串
2010/12/9 9:13:46 walleyekneel http://walleyekneel.javaeye.com
我要评论(0)
- 摘要:publicstaticstringGetString(int[]array){stringresult=string.Empty;for(inti=0;i<array.Length;i++)result+=array[i].ToString();returnresult;}
- 标签:数组 字符串
public static string GetString( int[] array )
{
string result = string.Empty;
for( int i=0;i <array.Length;i++ )
result += array[i].ToString();
return result;
}