using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication3
{
class Program
{
static void Main(string[] args)
{
int x = 0;
while (x < 5)
{
if (x < 3)
{
x++;
continue;
}
Console.Write("{0} ", x);
x++;
}
Console.ReadKey();
}
}
}
说明:运行结果为4 5