完成以下要求:
{
Console.WriteLine("商品");
string[] name = { "背包", "运动衫", "运动鞋", "外套", "背包" };
for (int i = 0; i < name.Length; i++)
{
Console.WriteLine(name[i]);
}
Console.ReadKey();
}
完成以下要求:
{
Console.WriteLine("商品");
string[] name = { "背包", "运动衫", "运动鞋", "外套", "背包" };
for (int i = 0; i < name.Length; i++)
{
Console.WriteLine(name[i]);
}
Console.ReadKey();
}
本文标题:C#第十次作业1
本文链接:https://www.haomeiwen.com/subject/opowcqtx.html
网友评论