Shortcut to create properties in Visual Studio?

后端 未结 16 1930
暖寄归人
暖寄归人 2020-12-02 03:42

I have seen some people creating properties in C# really fast, but how did they do it?

What shortcuts are available in Visual Studio (currently using Visual Stu

16条回答
  •  囚心锁ツ
    2020-12-02 04:16

    Type P + Tab + Tab.

    Change the datatype, press TAB, change the property name, and press End + Enter.

提交回复
热议问题