Author: CurtWRC | Posted on: 4/1/2009 8:00:09 AM | Views : 1184

 I've recently started using #Regions to group certain sub routines and functions together. However I'm wondering whether its possible to create regions within a sub routine or function. For example, I have a rather long 'Select Case' in my page_Load and I would like to group it like:
Select Case Value
    Case 1
      #Region "Case 1 Code"

     ....

     #End Region
End Select
 
Is something like this possible?
 
Thanks for your help,
 
Curt.

...

Go to the complete details ...