6
Dire che ho una proprietà auto-implementatoImposta valore predefinito per auto-implementato proprietà
public int SheetNum { get; set; }
Esiste un modo per impostare il valore predefinito di SheetNum
-1, quindi sarebbe come
private int sheetNum = 1;
public int SheetNum
{
set { this.sheetNum = value; }
get { return this.sheetNum; }
}