Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

A nice macro that automates the task of making regions in C# code

, 3 Jan 2005
At ComponentScience where I work, we heartily embrace the use of regions to logically separate our code into meaningful blocks. After doing it manually for a couple of years, I decided to write myself a little macro to make my life easier.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Phillip H. Blanton
Web Developer
United States United States
I am a co-founder and CTO of ComponentScience Incorporated (; where my time is spent designing and developing component libraries for the Microsoft .NET framework.
I first began programming DOS-based, multiuser point of sale systems in 1989 using C and Turbo Pascal. I dabbled in Windows programming with OWL, and took it up full-time with the release of Delphi 1.
Before co-founding ComponentScience, I was employed as a senior software engineer with TurboPower Software Company, where I helped to create award-winning UI component libraries for Borland Delphi and C++ Builder. Now I am a 100% dot net junkie.

| Advertise | Privacy | Mobile
Web03 | 2.8.140827.1 | Last Updated 3 Jan 2005
Article Copyright 2004 by Phillip H. Blanton
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid