天天看點

C#程式設計:擷取目前系統桌面路徑

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

MessageBox.Show("桌面的路徑是"+dir);