#region을 사용하면 코드 편집기의 개요 기능을 사용할 때 확장하거나 축소할 수 있는 코드 블록을 지정할 수 있다.
설명
#region 블록은 #endregion 지시문으로 종료해야 한다.
#region 블록은 #if 블록과 겹칠 수 없다. 그러나 #region 블록을 #if 블록에 중첩할 수 있고 #if 블록을 #region 블록에 중첩할 수 있습니다.
'프로그램 > .NET' 카테고리의 다른 글
[ASP.NET] Html.ActionLink에 의해 생성된 하이퍼링크에 style 입히기 (0) | 2021.05.06 |
---|---|
[C#] from 절 사용하기 (0) | 2021.03.12 |
[C#] foreach문 사용하기 (0) | 2021.03.12 |
[C#] C#에서 Oracle 사용(OracleConnection, OracleCommand) (0) | 2021.03.11 |