[总结]取得Web程序和非Web程序的根目录的N种取法(C#) 非Web程序1.AppDomain.CurrentDomain.BaseDirectory2.Environment.CurrentDirectory3.HttpRuntime.BinDirectoryThe path to the current application's/bin directory.Web程序HttpCurrent.Context.Server.Mappath();知道的请补充!