for(int x=1;x<=5;x++)
{
if(x%2==0)
continue;//添加关键字break或continue
Console.Write(x);
}
Console.ReadKey();
{
if(x%2==0)
continue;//添加关键字break或continue
Console.Write(x);
}
Console.ReadKey();
2015-10-18
for (int x = 1; x < 10; x++)
{
if (x == 3||x==8)//请添加代码,过滤3和8
continue;
Console.Write(x);
}
Console.ReadKey();
}
{
if (x == 3||x==8)//请添加代码,过滤3和8
continue;
Console.Write(x);
}
Console.ReadKey();
}
2015-10-18