C#——小知识点 #region 构造函数 #region 构造函数 public AStar(Map map) {this.map = map;} #endregion #region和 #endregion代码包起来,可以使代码段折叠起来,方便查看,此外没什么特别作用