Property and backing field

    0

    16

    lucycodes42

    C Sharp public recipes

    Shortcut: propfull

    private int backingField;
    public int PropertyName
    {
      get { return backingField;}
      set { backingField = value;}
    }
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.