Properties are full-fledged, first-class language elements that are an extension of methods that access or modify internal data. Anything you can do with member functions, you can do with properties.

 
  • 属性是成熟的,第一等的语言元素,是对访问或者修改内部数据的方法的扩展。任何使用成员方法可以做的事情,都可以用属性来完成。
今日热词
目录 附录 查词历史