建议启锋装个AsEclipse插件吧,可以批量生成 get/set 访问器
AsEclipse is an add-in for MS Visual Studio, which enables you to use 备旁肢some convenient 仿世Eclipse editing functions in MS Visual Studio with almost the same shortcut keys. No matter whether you are familiar with Eclipse, AsEclipse will be helpful in coding with VS.
下载链接:https://visualstudiogallery.msdn.microsoft.com/99ede732-544c-4f3b-8e38-49e4b8395075/
打prop,然后按tab键,会生成代码段让你填空
只读属性用 propg
按住ctrl+R不动,然后再按E