Return to Snippet

Revision: 16238
at July 29, 2009 14:32 by jimfred

Initial Code
// preprocessor_region.cs
#region MyClass definition
public class MyClass 
   public static void Main() 

Initial URL

Initial Description
This is a means of applying a comment to a section of code so that it can be expanded or hidden as a group.

Use #pragma region in C/C++.

Initial Title
#region/#endregion (or #pragma region/endregion in C++)lets you specify a block of code that you can expand or collapse when usi

Initial Tags

Initial Language