c#获取桌面路径和bin文件的路径

string path = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory);

生成的运行bin文件下的路径:AppDomain.CurrentDomain.BaseDirectory

posted @ 2018-09-28 09:51  世人皆萌  阅读(2128)  评论(0编辑  收藏  举报