Say I have a property with auto-implementation
public int SheetNum { get; set; }
In any case, to set the default SheetNum to 1, it will look like
private int sheetNum = 1; public int SheetNum { set { this.sheetNum = value; } get { return this.sheetNum; } }
source share