ASP NET Core Razor Creates a while loop for Razor

    0

    0

    lucycodes42

    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
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.