2018-12-05 循环加数组命名
2018-12-05 本文已影响0人
f387b2061819
//定义并赋值数组
string [] arr = { "Nike","Adidas","李宁","kappa","361" };
//输出数列中的值
for (int i = 0; i < arr.Length; i++)
{
Console.WriteLine(arr[i]);
}