c#中如何快速添加(写)属性

时间:2024-10-25 13:27:42

1、不写私有变量,直接用set get

c#中如何快速添加(写)属性

3、右击-重构-封装字段

c#中如何快速添加(写)属性

5、点击应用就好

c#中如何快速添加(写)属性
© 长短途