There are times when you don 't want the accessor methods to be generated automatically .
有时候你可能不希望自动生成这些访问器方法。
Accessor methods allow access to private member variables , but in a controlled manner .
存取方法允许访问静态成员变量,但仅能在控制方式中。
When you declare a property , you must also declare its accessor methods .
当声明属性时,还必须声明它的访问器方法。
There is no set accessor because the name must be provided to the constructor .
不存在设置访问器,因为必须给构造函数提供名称。
This error occurs when you use the access modifier " private " to modify an abstract accessor .
使用访问修饰符“private”修改抽象访问器时会发生此错误。
The field class itself is pretty simple ; it pretty much consists of the instance variables of the field , accessor methods for those instance variables , a tostring method , and a normal constructor .