Keywords:
*as
*goto
*for
*is
*this
*void
*char
*base
*null
*continue
*uint
*int
*var
*lock
*when
*do
*bool
*long
*in
*enum
Immediately pass control to the next iteration of the enclosing loop construct (for, foreach, do, while):
for (var i = 0; i < 10; i++)
{
if (i < 5)
{
continue;
}
Console.WriteLine(i);
}
Output:
5 6 7 8 9
var stuff = new [] {"a", "b", null, "c", "d"};
foreach (var s in stuff)
{
if (s == null)
{
continue;
}
Console.WriteLine(s);
}
Output:
a b c d