Using C# REGIONS DIRECTIVE
C# Coding Compartmentalization
Using Region
Region directives are handy in subdividing you codes into manageable sections , this allows for easier code editing and debugging
A typical region when minimized using the (-) icon at the left is shown to be a rectangle with faded characters in it.
To use the region directive
1. Type #region (insert any label here to denote code section)
2. Type #endregion at the end of the code fragment



Comments
Post a Comment