共用方式為


編譯器錯誤 CS1038

更新:2007 年 11 月

錯誤訊息

必須是 #endregion 指示詞

#region 指示詞沒有對應的 #endregion 指示詞。

下列範例會產生 CS1038:

// CS1038.cs
#region testing

public class clx
{
   public static void Main()
   {
   }
}
// CS1038
// uncomment the next line to resolve
// #endregion