ReSharper Web Help

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 FileStructureWindowEmbrace.
  3. Specify a custom name for a new region right in the File Structure window.

To remove #region from code, click tab_close in the upper-right corner of the region frame.

Coding_Assistance__Surrounding_with_Region

Note

The Surround with Region feature is available in C# and VB.NET code files only.

See Also

Reference: