#region is a preprocessor directive.Which is a block of code and it allows us to expand or collapse the code when using the outlining features of the MS visual studio code editor.
Syntax::
#region MyRegion
//your code here
#endregion
MyRegion is name you want to give to the region, which will appear in the visual studio code editor. A #region must be end with a #endregion.
#region do not affect the intermediate language output.
Shortcuts:
Syntax::
#region MyRegion
//your code here
#endregion
MyRegion is name you want to give to the region, which will appear in the visual studio code editor. A #region must be end with a #endregion.
#region do not affect the intermediate language output.
Shortcuts:
No comments:
Post a Comment