📅  最后修改于: 2022-03-11 14:49:16.796000             🧑  作者: Mango
//the while loop
while (condition)
{
// code block to be executed
}
//the for loop
for (statement 1; statement 2; statement 3)
{
// code block to be executed
}
//the foreach loop
foreach (type variableName in arrayName)
{
// code block to be executed
}