Creates a property read only

    0

    0

    lucycodes42

    C# recipes

    The Name property gets and sets the name of the object.

    Shortcut: propr

    public string Name { get; private set; }
    
    
    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.