Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有很多最初是使用自动属性实现的属性。有没有一种简单的方法可以将自动属性更改为完全实现的属性,而无需基本上删除属性并重新开始?在 VB 中,我相信这可以通过光标位置(就在 Get 前面?)和几个选项卡的某种组合来实现。这在 C# 中可能吗?
在 Visual Studio 中,只需键入propfull两次 tab,请参阅此链接以获取其他好的代码片段
propfull