Creates a lock statement

    0

    0

    lucycodes42

    C# recipes

    The lock() function will block execution of the current thread until the thread owning the lock variable has unlocked the lock.

    Shortcut: lock

    lock (true)
    {
      
    }
    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.