#region...#endregion: C# syntax

#region lets you specify a block of code that you can expand or collapse when using the outlining feature of the Visual Studio Code Editor.
与代码逻辑无关.
Example
// preprocessor_region.cs
#region MyClass definition
public class MyClass
{
public static void Main()
{
}
}
#endregion
posted @ 2007-01-17 16:17  玉泉老博  阅读(613)  评论(0编辑  收藏  举报
Free counter and web stats