看一下这个伪代码:
string exe_path = system.get_exe_path()
print "This executable is located in " + exe_path
如果我构建上述程序并将可执行文件放在中C:/meow/,This executable is located in C:/meow/则无论当前工作目录如何,它将在每次运行时打印出。
我怎样才能轻松完成此任务C#?
梦里花落0921
慕姐4208626
相关分类