karatejb
Programming, painting and martial arts.
2014年8月7日 星期四
[C#] 程式執行路徑
//asp.net
根目錄的路徑
Server.MapPath(
"/"
);
//WinForm
Application.StartupPath ;
//Console
System.
AppDomain
.CurrentDomain.BaseDirectory;
//Get Start application from DLL
System.
AppDomain
.CurrentDomain.BaseDirectory;
沒有留言:
張貼留言
‹
›
首頁
查看網路版
沒有留言:
張貼留言