The foreach
loop
iterates over a list value and sets the control variable
(var
) to be each element of the list in
turn:
foreach var
(list
) {
...
}
Like the while
statement,
the foreach
statement can also
take a continue
block.
..................Content has been hidden....................
You can't read the all page of ebook, please click
here login for view all page.