public int SheetNum { get; set; }@H_502_4@ 无论如何将SheetNum的默认值设置为1,所以它会是这样的 private int sheetNum = 1; public int SheetNum { set { this.sheetNum = value; } get { return this.sheetNum; } }@H_502_4@
无论如何将SheetNum的默认值设置为1,所以它会是这样的
private int sheetNum = 1; public int SheetNum { set { this.sheetNum = value; } get { return this.sheetNum; } }@H_502_4@
public class MyClass { public MyClass() { Foo = 1; } public int Foo { get; set; } }@H_502_4@