此为用C#写的A*算法源代码usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.Drawing;namespaceEtSoft.AStarLib{publicclassAStar{privateStarNodeCollectionopenList=newStarNodeCollection();privateStarNodeCollectioncloseList=newStarNodeCollection();publicStarNodecur