#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

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/zwgfsy.html