C# region

来源:互联网 发布:淘宝怎么搜阿普唑仑 编辑:程序博客网 时间:2024/05/16 15:54

#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. In longer code files, it is convenient to be able to collapse or hide one or more regions so that you can focus on the part of the file that you are currently working on. The following example shows how to define a region:


#region MyClass definitionpublic class MyClass {    static void Main()     {    }}#endregion

0 0
原创粉丝点击