如何获取当前目录,以查找调试目录的路径。 [英] how to get current directory, for finding debug directory's path.
本文介绍了如何获取当前目录,以查找调试目录的路径。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何获取当前目录,查找
调试目录的路径,该用户可以在
计算机系统
解决方案
使用字符串myPath = Environment.CurrentDirectory;
您需要使用System添加名称空间''。反射; ''
how to get current directory, for finding
debug directory''s path, in that user may paste/move folder anywhere in the
computer system
解决方案
use string myPath = Environment.CurrentDirectory;
you need to add the name space ''using System.Reflection;''
这篇关于如何获取当前目录,以查找调试目录的路径。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文