Preprocessor - #region


The #region and #endregion directives define a region that will be expanded or collapsed when using outlining in Visual Studio. The general form is as follows.

#region region-name
  // Code Sequence
#endregion