Skip to content

Glossary: C# Basics

Foreach loop

Also written: foreach

A loop that runs its block once for each item in a collection, storing the item in the variable you name.

Where the book teaches it

Related terms

ArrayListLoop