#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
#region...#endregion: C# syntax
内容版权声明:除非注明,否则皆为本站原创文章。