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.
我记得有一个可以输入的单词,以便可以折叠代码部分。然而我已经忘记了。它以前如何?
(它适用于快递版)
我认为你在谈论#region指令。像这样使用它们:
#region
#region Properties public int SomeProperty { get; set; } #endregion
#region NameOfRegion the code #endregion
www.sambeauvois.be/blog/wp-content/uploads/2010/04/VS2010CsharpKeyBinding2.png
第一个热键与打开和折叠相关。