The following example shows two ways to implement an immutable class that has auto-implemented properties.
下面的示例演示两种方法来实现具有自动实现属性的不可变类。
Auto-Implemented properties to allow properties without backend stores.
自动实现的属性允许属性没有后端存储。
Auto-Implemented properties to allow properties without backend stores.
自动实现的属性允许属性没有后端存储。
应用推荐