int[] number = { 10,20,15,30};
string[] str = new string[number.Length];
for (int i = 0; i < number.Length;i++ )
{
str[i]=number[i].ToString();
}
for (int i = 0; i < str.Length;i++ )
{
Console.WriteLine(str[i]);
}
Console.ReadKey();
我个人感觉,不是太麻烦,哈哈... |
|