using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace _19.流程控制之无限循环
{
class Program
{
static void Main(string[] args)
{
// 无限循环也称死循环,永不终止的循环。
// 使用do...while语句书写无限循环
{
do
{
} while (true);
}
// 使用while语句书写无限循环
{
while (true)
{
}
}
// 使用for语句书写无限循环
{
for (; ; )
{
}
}
}
}
}
Copyright © 2009-2022 www.fjjierui.cn 青羊区广皓图文设计工作室(个体工商户)达州站 版权所有 蜀ICP备19037934号