Give some Examples of Region Blocks?

 Posted by vishalneeraj-24503 on 9/15/2014 | Category: .NET Framework Interview questions | Views: 455 | Points: 40
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 

Comments or Responses

Login to post response