阅读背景:

惯例问题:何时使用Getter / Setter函数而不是使用Property

来源:互联网 

It strikes me that Properties in C# should be use when trying to manipulate a field in the class. But when there's complex calculations or database involved, we should use a getter/setter.It strikes me that Properties in C# should be u




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: