Creates a foreach statement

    0

    2

    lucycodes42

    C# recipes

    The code within the foreach block will iterate through the collection and print each item.

    Shortcut: foreach

    foreach (var item in collection)
    {
      
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.