It is a great way to organize your code. In my classes I usually put
regions around the property declarations and the function declarations.
Then I can expand and collapse them to view only what I need to see at any
given time. In larger classes and Web Services I use them to group
different sets of functions. In ASP.Net I like using #Region to be able to
expand and collapse my list of declarations. It really comes in handy when
you have a very busy web form, with tons of controls. When you switch to
Code View you don't need to scroll through a long list of them. Good luck!
Ken.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.