Nesting Regions in VS.NET 2003
Sponsored By
Did you know that you can nest #regions in VS.NET? You can create hierarchies of regions...seems obvious, but it wasn't to me. Thanks to Rocco for the tip.
About Scott
Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.



About Newsletter
June 27, 2003 1:28
yeah, if you look at any of the code in Microsoft new Application Blocks/Bricks they use #region nesting all over the place.
odd things happen if you try to start a region in one method and end it in another. same is true if you start a region outside a method but try to end it somewhere in the middle of a method.
Comments are closed.