[Tip]#Region Usage

#Region is useful to organize code. Some tips to use it:

1. Ctrl+K,s to choose #region to insert it for you.

2. Right click in the source file (.cs for example), choose outlining submenu, you will find all wanted. like expanding all, collapsing all, etc:

  a. Ctrl + M, M: toggle one region's display

  b. Toggle all outlining.

 

你可能感兴趣的:(reg)