c# block regions code example
Example 1: c# region tag
#region MyClass definition
public class MyClass
{
static void Main()
{
}
}
#endregion
Example 2: #region in c#
#region Properties
//code written between this can be expanded or minimzed using (+) or (-) in the code editor.
//This is just for better visibility.
#endregion Properties