private string _name = "John Doe"; public string Name { get { return _name; } ... 幸運的是,C#允許你給予get和set存取修飾詞,如果你使用private set或protected ...
確定! 回上一頁