#编码
string[ ] dongxi={"nike背包","运动衫","运动鞋","外套","腰包"};
for (int i = 0; i < dongxi.Length; i++)
{
Console.WriteLine("第{0}件为:{1}",i+1,dongxi[i]);
}
Console.ReadKey();
#效果

string[ ] dongxi={"nike背包","运动衫","运动鞋","外套","腰包"};
for (int i = 0; i < dongxi.Length; i++)
{
Console.WriteLine("第{0}件为:{1}",i+1,dongxi[i]);
}
Console.ReadKey();
本文标题:第十节课第一个作业
本文链接:https://www.haomeiwen.com/subject/yxfwcqtx.html
网友评论