ReSharper Web Help

This feature is only available in: ReSharper Full Edition and ReSharper C# Edition
To surround a symbol with #region
  1. In the File Structure window, select a single type member, or select several members by Ctrl+clicking them.
  2. On the toolbar of the window, click Surround with Region .
  3. Specify a custom name for the new region right in the File Structure window:

 Note

The Surround with Region feature is available in C# and VB.NET code files only.
To remove #region from code, do one of the following
  • Click the X button in the upper-right corner of the region frame.
  • Right-click the region name, and choose Delete in the context menu.

See Also

Reference