Answer: A #Region Blocks may be created for classes,variables, properties, methods or functions etc..
Below are the some examples:-
#region Global Variables
int _Val1;
int _Val2;
#endregion
#region Class definition
public class Employee_Master
{
static void Main()
{
}
}
#endregion
Asked In: Many Interviews |
Alert Moderator