Accessors for immutable properties will always have value semantics and do not need the defensive copying on either side of the call, making them more efficient.
不可变属性的存取器将总是具有值引用,因而调用的任何一方都不需要防御性复制,这使得它们效率更高。
Accessors for immutable properties will always have value semantics and do not need the defensive copying on either side of the call, making them more efficient.
不可变属性的存取器将总是具有值引用,因而调用的任何一方都不需要防御性复制,这使得它们效率更高。
应用推荐