How can we generate getters and setters in Visual Studio?

后端 未结 16 2264
盖世英雄少女心
盖世英雄少女心 2020-12-07 07:46

By \"generate\", I mean auto-generation of the code necessary for a particular selected (set of) variable(s).

But any more explicit explication or comment on good pr

16条回答
  •  悲&欢浪女
    2020-12-07 08:07

    You can also use "propfull" and hit TAB twice.

    The variable and property with get and set will be generated.

提交回复
热议问题