c#中相对路径怎么写?

2025-03-05 05:32:12
推荐回答(2个)
回答1:

string path=@".\图片\1.jpg"; .为当前执行目录

回答2:

Application.StartPahth 属性