Wednesday, 5 March 2014

#region in Visual Studio

It allows block of code to expand or collapse when using the outlining feature of the Visual Studio Code Editor. You can write namespaces, classes, methods, interfaces, delegates, events inside it.

#region MyRegion

//  Namespaces
//  Classes
//  Methods
//  Interfaces
//  Delegates
//  Events

#endregion


No comments:

Post a Comment