Last post Aug 06, 2007 07:06 AM by kaushalparik27
Aug 06, 2007 06:47 AM|abdulmg|LINK
private sub showdata()
Why "#Region" is used, what is the purpose of that.
When it should be used. Can you please explain me the concept of that
Aug 06, 2007 06:58 AM|rmaiya|LINK
#region is used to organize the code. read this link for more info
Aug 06, 2007 07:02 AM|TATWORTH|LINK
#Region ..... #End Region creates a collapsible area. This is particularly useful if there is a description after #Region. When you have more source code in a file than can be displayed on one screen, #Region allows you to hide blocks of code that you do
not want to currently see.
Aug 06, 2007 07:06 AM|kaushalparik27|LINK
#region lets you specify an Organised block of code that you can expand or collapse when using the outlining feature of the Visual Studio Code Editor.
#region MyClass definition
public class MyClass
public static void Main()
hope it helps./.