Content

Fun with #region

14 May

+ 0

I am not sure if I did this on accident, or my intern did it, but I found this in my code:

#region Constructors

//code here

#endregion Constructors

I was not aware you can put a tag after #endregion. Kind of nice to clearly delineate long regions. Not that it really matters, but Visual Studio allows you to put whatever text you want after #endregion, even if it doesn't match the #region label.

Comment

#

I reserve the right to delete and / or modify the comments that contain inappropriate language, spam or other behavior not appropriate in a civilized community. If your comment does not appear, it may be that akismet caught it.