Csharp/CSharp Tutorial/Preprocessing Directives/region — различия между версиями

Материал из .Net Framework эксперт
Перейти к: навигация, поиск
м (1 версия)
 
м (1 версия)
 
(нет различий)

Текущая версия на 12:17, 26 мая 2010

region

The #region and #endregion directives define a region that will be expanded or collapsed when using outlining in the Visual Studio IDE.

The general form is shown here:


#region region-name 
 // code sequence
#endregion