what's this in C#

Recommended Posts

Uhh... I was wondering what these are for..
#region

#endregion

VB has this too... I don't know about C++ if it has this. I see most of these when programming controls.

Share on other sites
paulecoyote    1065
It allows you to set a region that you can collapse in the IDE. Little +/- signs in the margin let you expand and contract these sections.

[Edited by - paulecoyote on November 10, 2004 10:32:04 AM]

Share on other sites
Leffe    301
Regions are nice to use with the license in top, if you do have one, that is.