ASP NET Core Razor Creates a while loop for Razor




    C# recipes

    The code above sets flag to true while it's executing, and then it sets it to false once the while loop ends.

    Shortcut: rz_while

    @{ var flag = true; }
    @while ()
       = false;
    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.