The foreach loop is used to iterate over a collection and execute a block of code for each item.
foreach
This construct requires the Hyperbee.XS.Extensions package.
Hyperbee.XS.Extensions
var list = [1, 2, 3]; foreach (var item in list) { item; }